I am using a call to
this.auth0.authorize();
to let my users log in if they need to (some don’t, since they are only reading public stuff, but not writing).
So far a successful login always leads to a complete reload of my SPA since the redirectUri is called, which I set to the same Url which my SPA has. Is there a way to avoid the reload and just get the information that the user has logged in (including access and id tokens)? The logout works without re-load at least.
This is my auth0 definition (x* = redacted):
auth0 = new auth0.WebAuth({
clientID: 'Qxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx2',
domain: 'xxxxxx.auth0.com',
responseType: 'token id_token',
redirectUri: 'https://www.xxxxxx.de/home',
scope: 'openid email profile',
prompt: "login" // enforces window
});