TanStack Start & KeycloakJS #3213
moncapitaine
started this conversation in
Show and tell
Replies: 1 comment
-
Thanks for the code sample. |
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 tried out to get keycloakJS into some TanStack start project and keeping support for the router context.
I had difficulties to understand why I need to update the context with some
Without this beforeLoad and returning some "new" auth the re-rendering never happens.
Here is my complete example (devcontainers because Keycloak included!)
Maybe this also helps some others...
(https://github.com/progwise/tanstack-start-keycloak)
Ans some explaining on dev.to:
(https://dev.to/moncapitaine/tanstack-start-keycloakjs-client-library-4f84)
Regards,
Michael
Beta Was this translation helpful? Give feedback.
All reactions