AutoWeb Oauth 2 w/ refresh Invalid Request

Discussion in 'AutoApps' started by LLL003, Jan 6, 2020.

  1. LLL003

    LLL003 New Member

    Joined:
    Jan 6, 2020
    Messages:
    2
    Likes Received:
    0
    Hi!
    I'm creating a API entry for exist.io, using OAuth 2 with Refresh.
    I've configured the app with the settings, using the detail from their documentation http://developer.exist.io/#authorisation-flow

    I'm getting an error:
    {"error_description": "No 'grant_type' included in the request.","error","invalid_request"}

    Is it possible to see the exact request AutoWeb is sending to trouble shoot this? According to the documentation the request should be equivalent to:

    curl -X POST https://exist.io/oauth2/access_token -d "grant_type=refresh_token" -d "refresh_token=[token]" -d "client_id=[your_id]" -d "client_secret=[your_secret]"

    Thanks in advance!
     
  2. joaomgcd

    joaomgcd Administrator Staff Member

    Joined:
    Feb 3, 2015
    Messages:
    9,479
    Likes Received:
    806
    Hi. Can you please export the API entry so I can check out how you configured it? :)
     
  3. LLL003

    LLL003 New Member

    Joined:
    Jan 6, 2020
    Messages:
    2
    Likes Received:
    0
    Please find attached :)
     

    Attached Files:

  4. QuarterPastNorth

    QuarterPastNorth New Member

    Joined:
    May 20, 2020
    Messages:
    1
    Likes Received:
    0
    Hi, any luck with this? I am encountering the same problem... My API entry was identical to LLL003's and I get the same error.

    Any help is much appreciated!
     

    Attached Files:

  5. joaomgcd

    joaomgcd Administrator Staff Member

    Joined:
    Feb 3, 2015
    Messages:
    9,479
    Likes Received:
    806
    Sorry for some reason I didn't get back to this. Can you try setting Refresh Endpoint Data Type to form and see if that helps?
     
: autoweb

Share This Page