I’m got one step further: I chained the getUser() call after the handleRedirectCallback() promise, and now I’m able to load the user profile on the same page. But if the user refreshes the page, the login information is lost.
Related topics
Topic | Replies | Views | Activity | |
---|---|---|---|---|
Maybe a discrepancy between tutorial and docs about 'loginWithRedirect' in auth0-spa-js | 2 | 1490 | July 18, 2022 | |
JavaScript library auth0-spa-js : logout does not work, user stays logged in. | 6 | 3305 | December 14, 2020 | |
handleRedirectCallback failing with "Invalid State" error & empty response | 4 | 2340 | February 19, 2025 | |
handleRedirectCallback fails on Safari browser | 2 | 425 | January 17, 2024 | |
Silent Auth fails EXCEPT in incognito mode | 4 | 6030 | December 11, 2019 |