Ask Your Question
2

Is it possible for auth0-js checkSession() to identify authentication that was performed through auth0-spa-js's universal login on a different page?

asked 2022-10-12 11:00:00 +0000

bukephalos gravatar image

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
0

answered 2023-01-15 09:00:00 +0000

pufferfish gravatar image

Yes, it is possible for auth0-js checkSession() to identify authentication performed through auth0-spa-js's universal login on a different page, as long as both libraries are configured to use the same Auth0 client and domain. When the user logs in with auth0-spa-js on a different page, their session information will be stored in a cookie or local storage. When checkSession() is called on the current page, it will check for this session information and use it to identify the user's authenticated state.

edit flag offensive delete link more

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account. This space is reserved only for answers. If you would like to engage in a discussion, please instead post a comment under the question or an answer that you would like to discuss

Add Answer


Question Tools

Stats

Asked: 2022-10-12 11:00:00 +0000

Seen: 13 times

Last updated: Jan 15 '23