Repository navigation
Keycloak with nuxt 3 integration #17016
|
Hi, i am in the situation stuggeling with keycloak. My second try is to implement clean vue3 with keycloakJs. This works very well without bugs. Now I want to implement nuxt3 with keycloakJs with plugins. But get error 500 - document not defined. I hope someone can give some help. |
Replies: 1 comment
|
Ok guys, I've got an update for you. Nuxt 3 is running with official keycloakJs Javascript package. |
Ok guys, I've got an update for you. Nuxt 3 is running with official keycloakJs Javascript package.
You can get a ready to go demo here:
https://github.com/Kingside88/nuxt3-primevue-starter-auth/blob/keycloakJs/README.md
The sidebase/nuxt-auth or better say next-auth keycloak provider has a bug providing the JWT token. It misses some properties. Now we can compare both solutions.