Issue with Keycloak Authentication and Custom Login in React Refine
I'm experiencing an issue with Keycloak authentication in my React Refine application. I use a custom login flow that interacts with an API endpoint to authenticate users and retrieve tokens. However, after login, keycloak.authenticated remains false, and the user is not recognized as authenticated. Additionally, on refreshing the page, the user is redirected to the login screen again.
When I don't use custom login, so I do from keycloak login flow, useKeycloak hook is populated as exacted.
Thank you in advance!
When I don't use custom login, so I do from keycloak login flow, useKeycloak hook is populated as exacted.
Thank you in advance!
