If I add ‘audience=’ to the URL, then it no longer prompts for login, and redirects to the URL without the #… Token at all WTF?
I’m attempting to switch an app that uses ADFS over to Auth0 for the Dev/QA environments (and maybe later just in general), so I’m using the Angular OAuthService, and not any Auth0 objects. To add the Audience I simply added:
this.oAuthService.customQueryParams = {
'audience': 'http://localhost:4205'
};
And now nothing works at all, before it was returning the access_token as garbage (not a JWT at all), and the id_token as what I’m looking for (except the oAuthService is only looking at the Access_Token and injects that into further requests and gets “Invalid Token”) . It doesn’t seem to matter how I configure Auth0 for Single page app, or for normal web app, nothing seems to work.
Any idea why it does something crazy if you specify the Audience?
I’d ask customer support, but they aren’t interested in helping people become paying customers, only helping people who already are.