Azure AD B2C: Getting Error while refreshing Token in iOS App

Amita Jain 21 Reputation points
2021-02-15T10:26:09.573+00:00

I am trying to refresh token using Token end point in my iOS App, but getting error as:
"error_description": AADB2C90083: The request is missing required parameter: grant_type

Refresh Token endpoint is: https://{myTenant}.b2clogin.com/{myTenant}..onmicrosoft.com/B2C_1_SignInSignUpFlow/oauth2/v2.0/token

I am sending below parameters to the request:
"grant_type": "refresh_token",
"refresh_token": {my_refreshToken},
"client_id": {my_client_id},
"redirect_url": {my_app_redirect_url}

Please tell me, if I am missing anything?

Microsoft Security Microsoft Entra Microsoft Entra External ID
0 comments No comments
{count} votes

Accepted answer
  1. James Hamil 27,211 Reputation points Microsoft Employee Moderator
    2021-02-16T20:49:50.423+00:00

    Hi @Amita Jain , have you seen this thread? If so please let me know so I can look into this further.

    Update: User solved issue by using GET instead of POST

    Thank you,
    James


0 additional answers

Sort by: Most helpful

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.