Skip to content

Unable to get the refresh token #132

@anshuljadhav

Description

@anshuljadhav

Hi All,

I am trying to get the refresh token for bing ads api. But I am unable to get the refresh token. I am only able to get the access token.
Following are the parameters and values used

Host: - https://login.microsoftonline.com/common/oauth2/v2.0/token (sending a post request)

Key and Values used to make the request
client_id:xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxx
client_secret:xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
grant_type:authorization_code
scope:https://ads.microsoft.com/msads.manage
code:xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
redirect_uri:https://localhost:xxxxx/

Response
{
"token_type": "Bearer",
"scope": "https://ads.microsoft.com/msads.manage",
"expires_in": 4xxx,
"ext_expires_in": 4xxx,
"access_token": "xxxxx"
}

I have followed the official documentation but unable to get the refresh token.
Please help me on this.
Thanks in advance!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions