auth0-samples / auth0-javascript-samples

Auth0 Integration Samples for Vanilla JavaScript Applications

Home Page:https://auth0.com/docs/quickstart/spa/vanillajs

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Wrong parameter return_to in logout

marcfx opened this issue · comments

Based on auth.js doc, in logout should be used parameter returnTo and not return_to.

return_to: window.location.origin

Thanks @marcfx. This sample has since been rewritten and this change has been incorporated into that rewrite.