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

Update environment.prod.ts #481

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

MohammedMahmud
Copy link

for production it shouldn't be redirecturi it should be redirect_uri. Otherwise, it won't work

see the URL:
https://community.auth0.com/t/redirect-uri-issue-after-successful-login-with-auth0-auth0-angular/58111

@frederikprijck
Copy link
Contributor

Thanks for catching that. However, it appears that this still isnt correct.

It is correct that it should be redirect_uri, however, both audience and redirect_uri should exist inside authorizationParams, like here: https://github.com/auth0-samples/auth0-angular-samples/blob/main/Sample-01/src/environments/environment.ts

We will also need to make the same changes here: https://github.com/auth0-samples/auth0-angular-samples/blob/main/Standalone/src/environments/environment.prod.ts

If u can update this PR, I can merge it.

@MohammedMahmud
Copy link
Author

I updated it. Hope that helps.

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.

None yet

2 participants