You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Apr 3, 2023. It is now read-only.
Hello, I'm opening this issue because I couldn't solve a problem.
There is client rendering architecture in my project, so I use React but not Next and its alternatives. For this reason, I cannot use SSR.
My problem is, I want to be able to persist the token I got from keycloak, I want to use the token I persisted even though the page is reloaded. Because every time the page is reloaded, I have to acquire tokens again.
I am attaching the codes I used, thanks in advance for your interest.
The text was updated successfully, but these errors were encountered:
gokhangunduz
changed the title
Client Rendering Architecture | Persist token problem
Client Side Rendering Architecture | Persist token problem
Mar 28, 2023
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Hello, I'm opening this issue because I couldn't solve a problem.
There is client rendering architecture in my project, so I use React but not Next and its alternatives. For this reason, I cannot use SSR.
My problem is, I want to be able to persist the token I got from keycloak, I want to use the token I persisted even though the page is reloaded. Because every time the page is reloaded, I have to acquire tokens again.
I am attaching the codes I used, thanks in advance for your interest.
keycloak.ts;
index.tsx;
The text was updated successfully, but these errors were encountered: