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

Upgrade to checkSession #8

Closed
wparad opened this issue Nov 14, 2017 · 1 comment
Closed

Upgrade to checkSession #8

wparad opened this issue Nov 14, 2017 · 1 comment

Comments

@wparad
Copy link
Collaborator

wparad commented Nov 14, 2017

From Auth0:

renewAuth was the old way of updating tokens, and it required a separate callback page to complete the flow (it was possible to not have one, but needed the callback page for the process to be efficient).

We recently introduced checkSession which does not have the friction mentioned above. It makes use of what is known as the Web Message Response Mode internally and has the same API as that of renewAuth.
So even though the renewAuth method is still available, we recommend that you go with checkSession.

https://auth0.github.io/auth0.js/global.html#checkSession

@wparad
Copy link
Collaborator Author

wparad commented Feb 8, 2018

It isn't a feature that is actually supported by browsers, see here, so closing.

@wparad wparad closed this as completed Feb 8, 2018
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

No branches or pull requests

1 participant