I'm trying to integrate ServiceStack.Authentication.IdentityServer plugin with an Identity Server 4. I posted this question to StackOverflow and @mythz recommended that I should file it here.
When calling the protected ServiceStack endpoint from browser, the browser redirects to the authorize endpoint as below
In this case, https://localhost:5001 is my Identity Server 4, and https://localhost:5004 is my ServiceStack server.
After this step, the browser sends a POST request to ServiceStack's IdentityServer auth provider endpoint as expected. However, this endpoint returns a 302 back to the Identity Server's authorize endpoint. The response looks like
I'm trying to integrate ServiceStack.Authentication.IdentityServer plugin with an Identity Server 4. I posted this question to StackOverflow and @mythz recommended that I should file it here.
When calling the protected ServiceStack endpoint from browser, the browser redirects to the authorize endpoint as below
In this case,
https://localhost:5001
is my Identity Server 4, andhttps://localhost:5004
is my ServiceStack server.After this step, the browser sends a POST request to ServiceStack's IdentityServer auth provider endpoint as expected. However, this endpoint returns a 302 back to the Identity Server's authorize endpoint. The response looks like
Therefore, my browser falls into an infinite loop.
Could anybody shed some light on how I can get over this? Thanks.