Skip to content
This repository has been archived by the owner on Feb 14, 2023. It is now read-only.

How should one get a Refresh token? #37

Open
dmacexos opened this issue Sep 22, 2020 · 0 comments
Open

How should one get a Refresh token? #37

dmacexos opened this issue Sep 22, 2020 · 0 comments

Comments

@dmacexos
Copy link

I want to get and store a refresh token after allowing a user to authenticate and link accounts, so my application can pull data when it wants without user interaction.

To do this, I have to get and store a refresh token which I can use to refresh the access token when I want. The access token only lasts six hours.

However, I can't find where the refresh token is exposed.

I tried using the access token returned from a Success from OAuthAuthenticator, but I only get "Status:400 Bad Request StatusCode:400 " to my call to my PostForm call to "https://www.strava.com/oauth/token".

How should I proceed?

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant