Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Render username on page load instead of Log in if the user is already logged in #123

Closed
Powersource opened this issue Oct 26, 2020 · 2 comments · Fixed by #140
Closed

Render username on page load instead of Log in if the user is already logged in #123

Powersource opened this issue Oct 26, 2020 · 2 comments · Fixed by #140

Comments

@Powersource
Copy link
Member

Currently the user for unclear reasons has to click Log in and be redirected around for a bit, and when they get back their name is shown. Good thing this is a SPA so this doesn't happen too much :P

Underlying issue being discussed in the react-keycloak repo react-keycloak/react-keycloak#116

@Powersource
Copy link
Member Author

So with oidc-react it remains in the page if it's refreshed but not when it's initially opened/opened in a new tab bjerkio/oidc-react#332

@Powersource
Copy link
Member Author

Related IdentityModel/oidc-client-js#168

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant