My SPA app requires users are always authenticated. I have a logout button in the app that I want to return users to the hosted login page.
I thought the correct way would be simply to call auth0.authorize() again. This does return to the hosted login page, but there is an issue that when you click to login again, you get sent back to the hosted login. If you click again, it works. So, you always have to login twice after being sent back to the hosted login via auth0.authorize().