auth0-angular-samples
auth0-angular-samples copied to clipboard
Update environment.prod.ts
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
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.
I updated it. Hope that helps.