- OUT: Client-side packages in Angular
- IN: BFF - Angular app: Login in Backend (read stuff from Damien Bowden)
I found several options:
- Tested, works. Set
ASPNETCORE_FORWARDEDHEADERS_ENABLEDto true: <https://stackoverflow.com/questions/50468033/redirect-uri-sent-as-http-and-not-https-in-app-running-https/76047542#76047542> - Tested, works. Set
context.ProtocolMessage.RedirectUri=...inOnRedirectToIdentityProviderhttps://stackoverflow.com/a/68410484 - not tested, might help: https://stackoverflow.com/questions/50468033/redirect-uri-sent-as-http-and-not-https-in-app-running-https
- not tested, might help: https://stackoverflow.com/questions/72488243/openidconnect-redirects-to-http-instead-of-https
Better remove app.UseHttpsRedirection(); because this will not forward authorization headers from http to https-
Redirect url prompt=none