This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

Getting Error 401 while trying to get the access token as mentioned in the garmin Oauth docs .

Former Member
Former Member

I'm trying to fetch the access token ,as mentioned in the garmin oatuh docs, which is the 3rd step in the authentication process.

im using axios to make request .

Headers i'm passing:

{"Authorization": "OAuth oauth_consumer_key=\"<key>\", oauth_nonce=\"u0USacSShJztIhhLOF10kRceyqRANqLW\", oauth_signature=\"ES%2BkZW%2BbgtGV9FBBxSjAr1V51QU%3D\", oauth_signature_method=\"HMAC-SHA1\", oauth_timestamp=\"1648204317\", oauth_token=\"24187c4c-81c0-4485-899b-5ae3768b6698\", oauth_verifier=\"r5TN0THkDV\", oauth_version=\"1.0\""}

I really need to keep moving forward with this so i would really appreciate a quick support.

Thanks

  • I have same issue, I am trying using postman ( ofcourse, I'm doing  authentication process in web browser for now) and I am getting oauth_verifier, but when I sent post request for access token, I am getting 401 error this is how my request looks like:

    Authorization
    OAuth oauth_consumer_key="CONSUMER_KEY", 
    oauth_nonce="HPVUPnEaMGVw54dJg0SR0oZ2YBLnqxVI", 
    oauth_signature="5uau5gOeL%2FhHNnbrAxSnvl4rny0%3D", 
    oauth_signature_method="HMAC-SHA1", 
    oauth_timestamp="1683555445", 
    oauth_token="afffa21c-212c-46e4-9596-bc37618606a1", 
    oauth_verifier="XtU8J0ThK2", oauth_version="1.0"