Discourse SSO using auth0 via URL

If you are trying to use Auth0 and Discourse together I would recommend following this guide: How to use Auth0 with the OAuth2 Basic Plugin. It should allow the users to return back to the home url (or even the original url they were on) once they are logged in.