redirect to home page after silent refresh
See original GitHub issueHello, I did silent refreshing regarding your documentation.
When I try to call
this .oauthService .silentRefresh() .then((info) => console.warn('refresh ok', info)) .catch((err) => console.error('refresh error', err));
Then I got message in console:
OAuthSuccessEvent info: null type: "silently_refreshed"
And then app is redirect to main page.
How to prevent this redirecting? Thank you.
Issue Analytics
- State:
- Created 5 years ago
- Reactions:1
- Comments:26 (2 by maintainers)
Top Results From Across the Web
Redirect to specific page after refreshing (oidc.js)
The issue: Whenever I refresh the page with F5 or want to go to the specific component connected to route using url only...
Read more >Silent Refresh - Refreshing Access Tokens when using the ...
Here we have enabled silent refresh using the automaticSilentRenew property. This will cause an event to be fired close to when our access ......
Read more >Refreshing a Token when using Implicit Flow (Silent Refresh)
To use this approach, setup a redirect uri for the silent refresh. For this, you can set the property silentRefreshRedirectUri in the config...
Read more >Token lifetimes and refreshing token without redirect in SPA
We actually recently added support for SPAs to be able to receive and use refresh tokens on the front-end via CORS requests, though...
Read more >Configure Silent Authentication - Auth0
The OpenID Connect protocol supports a prompt=none parameter on the authentication ... the user must be redirected to the Auth0 login page without...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
There’s some code (link) that clears the hash fragment after processing the id token. This is not very suitable for whoever uses a
HashStrategy
in combination with silent refresh. As the code suggests, you can setclearHashAfterLogin: false
inAuthConfig
to get this solved.We have the same Problems. We ran into redirect in Iframe on Windows with Chrome. Other Constellations are working great. Chrome on Mac works. Windows and Firefox works!My Fault. Third Party Cookies in Chrome. SRY