-
Notifications
You must be signed in to change notification settings - Fork 45
Redirecting to original URL #10
Comments
First of all, thank you! I can see the issue, unfortunately I'll be busy in the next few weeks, but I hope to find time to figure out how to pass custom values in the state. I'll keep you updated :) |
Excellent, thank you @danilopolani. If you've got an approach in mind I can do my best to help out! |
@danilopolani any progress on this issue? Happy to help in whatever way I can, particularly if you can set me on the right path! |
@danilopolani any updates on this issue? If you have more info on how you had planned to solve this problem, I can try and work on a fix myself. |
Hello @jpoles1 , Since in For the moment what about storing the URL / parameters in a cookie? Not the best solution, but it could work, with Gin you can achieve it with In the next version I would add a
What do you think about it? |
Hey, thanks for the great library, really nice to see a passport-like software for Golang.
I'm trying to use the Google authorization scheme, and I'd like to redirect my users to the page from which they started before being required to login. Google forbids any redirect URLs using wildcards and thus I cannot include my source URL in the redirect directly.
I've read that I should be able to include my source URL in the "state" which is returned, but I'm not certain that there's a way to go about doing so using Gocialite functions. Am I missing something? Thanks!
The text was updated successfully, but these errors were encountered: