-
Notifications
You must be signed in to change notification settings - Fork 114
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
How do you get the token_hash for refresh tokens? #98
Comments
I ended up building the refresh token when first authorizing the application. `
` |
Just do You can see how this work here: and lib/dropbox_api/connection_build.rb#refresh_access_token |
This works, thanks! I didn't realize |
I am making one request to authorize a user and would to save the token hash so that I can build an OAuth2::AccessToken at a later time and upload a file without user authorization. I can create the client but if on_token_refreshed is not called, how do I get the token_hash?
For example, I am calling the following once, but on_token_refreshed doesn't get called so I can't get the token hash. Do I need to construct the token_hash manually?
The text was updated successfully, but these errors were encountered: