auth0-angular-samples icon indicating copy to clipboard operation
auth0-angular-samples copied to clipboard

Update environment.prod.ts

Open MohammedMahmud opened this issue 1 year ago • 2 comments

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

MohammedMahmud avatar Feb 12 '24 23:02 MohammedMahmud

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.

frederikprijck avatar Feb 13 '24 13:02 frederikprijck

I updated it. Hope that helps.

MohammedMahmud avatar Feb 15 '24 01:02 MohammedMahmud