Reputation: 788
Good Morning
I have the following situation:
My question is, how do I in IdentityServer4 so that after the user is logged in, he is redirected to the main page with the querystring? It is possible?
Upvotes: 0
Views: 315
Reputation: 5264
Typically this is what you'd use the state
parameter for when doing an authorize endpoint request. If you're using the standard middleware then to be honest I'm surprised it doesn't work out of the box but it may be possible to use the OpenIdConnectEvents.OnRedirectToIdentityProvider event to manually manipulate the request.
Are you able to post details of the redirect URLs at each step in the flow?
Upvotes: 1