Keycloak token not fetched #1535
Unanswered
ArzelaAscoIi
asked this question in
Support Requests
Replies: 1 comment
-
If I run the development server I get a 200 response from "callback?state=...". After deploying it (ssr:false) this returnes a 301. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hi,
I am facing some problems with openid-connect and keycloak. I am using Keycloak as user management for our website.
I registered a client (see screenshot and replace the <...> values)
and added the following configuration at @nuxtjs/auth-next
This works if I run the development server. If I publish the page using AWS Amplify (static) the authentication breaks...
I am redirected to the local page /callback (I use the example callback.vue from the demo), but no tokens are set.
The local storage contains the following values:
auth.keycloak.pkce_code_verifier: "a7ad2a766..."
auth.keycloak.pkce_state: "b895b04..."
auth.redirect: "/"
auth.strategy: "keycloak"
There are no logs inside the console.

Can somebody help me out here ? I am struggeling now for >3 days...
Beta Was this translation helpful? Give feedback.
All reactions