Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix audience #9

Merged
merged 5 commits into from
Nov 23, 2017
Merged

Fix audience #9

merged 5 commits into from
Nov 23, 2017

Conversation

thoean
Copy link
Contributor

@thoean thoean commented Nov 23, 2017

The auth0 lock doesn't return the audience with the token unless the oidcConformance flag is enabled with the application. In order to do so, Cross-Origin Authentication must also be enabled with a single callback URL.

Webauth however isn't restricted by the auth0 lock. The solution taken here is to call webauth directly after a successful auth0 lock login.

@thoean thoean requested review from runebaas, wparad, dhermyt, akincel and a user November 23, 2017 15:11
@thoean thoean changed the base branch from master to release/1.0 November 23, 2017 15:41
Markus Thurner added 3 commits November 23, 2017 16:47
… token from the lock widget might not include the audience, depending on the application settings. Consult the auth0 lock's oidcConformant and audience settings documentation.
…ents can call this in their client code before a call to this auth library.
@thoean thoean merged commit d429f35 into Cimpress-MCP:release/1.0 Nov 23, 2017
@thoean thoean deleted the FixAudience branch November 23, 2017 20:15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants