GFlisch / Arc4u.Guidance.Doc

Other
5 stars 1 forks source link

OAuth2 - adfs json files not correct for IIS environment deployment #234

Open esosrl opened 4 months ago

esosrl commented 4 months ago

When deploying within an IIS environment with one website by application, and for every microservice a virtual application. The urls to those virtual applications is determined by the destination you want to access.

Meaning that when you want to access oidc callback method, you need to pass via the yarp.
So the registration for the adfs/oauth2 should have the following rooter

https://myappprod.domain.com/**yarp**/signin-oidc and not https://myappprod.domain.com/signin-oidc