- Products
- Solutions
- Resources
- Trials
- Support
- Partners
- Communities
I am trying to run Angular on my PC under http://localhost:4200
I have changed in Environments "clientUrl" to 'https://<ServerWithAPI>/ApiServer'
I also have created in designer settings.
Settings in designer:
When I run project I am redirected to IDP for authentication which I pass succesfully.
Next I am redirected to localhost with the "code=...." - I get the code because I use Authentication Code Flow.
Now I expected that Api Server get's the code and use it with shared secret to exchange it with /token endpoint and get ID Token.
From some reasons it's not doing it, but instead it starts everything again. I mean: redirect me to /authorize for authentication, I get code again and provide to API Server but I am again redirected to /authorize. So, I am in the loop.
However, when I change redirect URI to "https://<ServerWithAPI>/ApiServer/html/qer-app-portal" and start in browser in localhost:4200 I have this flow:
I would like to understand what to configure to not need to every time switch to standard portal for authentication and custom portal to see modifications