IdentityServer4 icon indicating copy to clipboard operation
IdentityServer4 copied to clipboard

Have identity server sitting behind Netscaler and Redirect Doesn't work properly

Open CShelton11 opened this issue 7 years ago • 2 comments

Having an issue where the redirect back to the client is http even though the redirect url clearly has https...

Notes - The client can be found at https://site.com/Security/IDS4Admin/ The server can be found at https://site.com/Security/IDS4Server/

Someone in infrastructure decided that url re-writes and folder structures was a good idea. I have no control over this part.

Example url not working - /Security/IDS4Server/connect/authorize/callback?client_id=1234&redirect_uri=https://site.com/Security/IDS4Admin/signin-oidc&response_type=code id_token&scope=openid profile email roles&response_mode=form_post&etc....

When it actually does the redirect, it is redirecting to http://site.com/Security/IDS4Admin/signin-oidc (note http not https)

Is there something that would prevent this prom working properly. This all work locally, but I am guessing that it has something to do with the client and the server both being at https://site.com...

CShelton11 avatar Oct 15 '19 19:10 CShelton11

Nevermind - this issue was cause because the netscaler wasn't configured to forward the proto, so when the client was redirecting internally it was trying to redirect to http instead of https.

CShelton11 avatar Oct 15 '19 20:10 CShelton11

This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.

lock[bot] avatar Jan 10 '20 16:01 lock[bot]