Buff Thokoa
Buff Thokoa
Hi @petitkriket ... the bug that I am seeing is that the loggedIn property does not change. In other words the user is never acknowledged by the library to have...
> This is because you're missing the `process.env.NUXT_SESSION_PASSWORD` environment variable. @sewalsh No, it is there. I have looked at this some more and it seems to be related to redirecting...
@Atinux This issue is only partly fixed... The intitial redirect to keycloak is handled correctly but the token retrieval is still using the redirect from the server function const redirectUrl...
> I guess we could then add a `config.redirectUrl` option that can overwrite it here if provided (https://github.com/Atinux/nuxt-auth-utils/blob/main/src/runtime/server/lib/oauth/keycloak.ts#L91) > > ```ts > const redirectUrl = config.redirectUrl || getRequestURL(event).href > ```...