auth0 / auth0-aspnet-owin

Auth0 ASP.NET 4.5 Owin/Katana Authentication Handler
MIT License
46 stars 50 forks source link

State not passed to callback #43

Closed BrianVallelunga closed 6 years ago

BrianVallelunga commented 8 years ago

In a SSO scenario, I redirect my users to https://myapp.auth0.com/authorize?state=HelloWorld&redirect_uri=https://myapp/signin-auth0....

When a user authenticates they get redirected to the /signin-auto0 middleware, which in turn sends them to my custom callback, /auth0/callback

Unfortunately, the state value seems to be lost when it gets to my callback. Is this a result of the commented out line at:

https://github.com/auth0/auth0-aspnet-owin/blob/master/src/Auth0.Owin/Auth0AuthenticationHandler.cs#L298

Without this, I can't send the users to the page that they want to go.

jerriep commented 6 years ago

@BrianVallelunga This is a very old issue. Is this still relevant?

jerriep commented 6 years ago

Closing this issue. Feel free to re-open if this is still an issue