object(stdClass)#2 (2) { ["message"]=> string(11) "Bad Request" ["errors"]=> array(1) { [0]=> object(stdClass)#4 (3) { ["resource"]=> string(17) "AuthorizationCode" ["field"]=> string(4) "code" ["code"]=> string(7) "invalid" } } }
Thanks for all help!!!
{
"client_id":"MY_CLIENT_ID",
"client_secret":"MY_SECRET",
"grant_type": "refresh_token",
"refresh_token": "REFRESH_TOKEN"
}
{
"message": "Bad Request",
"errors": [
{
"resource": "RefreshToken",
"field": "code",
"code": "invalid"
}
]
}
--
You received this message because you are subscribed to the Google Groups "Strava API" group.
To unsubscribe from this group and stop receiving emails from it, send an email to strava-api+...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/strava-api/d17a744a-b42c-4671-ad4e-5169ce56a6db%40googlegroups.com.
--
You received this message because you are subscribed to the Google Groups "Strava API" group.
To unsubscribe from this group and stop receiving emails from it, send an email to strava-api+...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/strava-api/49db354b-c63e-4832-a23e-ce0c83c4e06a%40googlegroups.com.
To unsubscribe from this group and stop receiving emails from it, send an email to strav...@googlegroups.com.
To unsubscribe from this group and stop receiving emails from it, send an email to strava-api+...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/strava-api/11b653d5-5b11-4a38-bc00-8c2bcf316dc0%40googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/strava-api/11b653d5-5b11-4a38-bc00-8c2bcf316dc0%40googlegroups.com.
--Regards
Shashwat Kumar
To unsubscribe from this group and stop receiving emails from it, send an email to strava-api+...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/strava-api/1536e344-5ce6-41d4-8b83-c1055be7f210%40googlegroups.com.
Your clients app exchanges a refresh token for an access token when the access token has expired.
This allows clients to continue to have a valid access token without further interaction with the user.
If you use libraries for Auth2 this is often managed for you , such as with Dot net core middleware. It’s not recommended to code auth2 flows yourself but use toolkits
On Jan 28, 2020, at 3:41 AM, Angelica Rosa <anij...@gmail.com> wrote:
To unsubscribe from this group and stop receiving emails from it, send an email to strava-api+...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/strava-api/11b653d5-5b11-4a38-bc00-8c2bcf316dc0%40googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/strava-api/11b653d5-5b11-4a38-bc00-8c2bcf316dc0%40googlegroups.com.
--
You received this message because you are subscribed to the Google Groups "Strava API" group.
To unsubscribe from this group and stop receiving emails from it, send an email to strava-api+...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/strava-api/70de1815-b375-4c4c-b81c-5afa7e3510b4n%40googlegroups.com.