-
Notifications
You must be signed in to change notification settings - Fork 25
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Token refresh #4
Comments
Also looking to do this. |
I'll leave this here for anyone else who has trouble with the refresh token. |
Thanks for sharing this Rigel! Will see if I can find a way of building it into the gem and then pull-request it. |
+1 |
Any update on this? |
do we have any other example of an omniauth2 gem that includes token refresh? I'm not entirely sure it belongs to this gem's domain since everyone has a custom method for this. Opinions about that are appreciated. |
@rigelstpierre Thanks for posting your solution, worked perfectly! 🎉 |
Looks like what your looking is done by RSpotify, a gem to request Spotify's API (including ouath methods for private data), has a way of doing this: from the readme:
We're using Unfortunately, changing the callback_url in devise's configuration seems not implemented here :/ |
I've yet to push the new gem on rubygems because I want people to try out the redirect issues they're having, can you try the current master in your Gemfile? |
Hi ! Just tested it and IT WORKS ! So I for one would love to see that update go to RubyGems. |
0.0.10 has been pushed to rubygems, thanks for testing! |
Is there a way to handle refreshing tokens?
The text was updated successfully, but these errors were encountered: