Not getting refresh tokens

I have created an simple web app using the starter template.
I am specifying the following scope.

  authorizationParams: {
    response_type: "id_token",
    scope: 'openid profile email offline_access'
  }

I verified that the /authorize call is being passed this scope, but in response, I am getting only id_token, I am not getting the refresh token.

In the grant types configuration in auth0 UI, refresh tokens is checked.

Hi there @mihirgt welcome to the community!

Were you ever able to get this sorted? Which SDK are you using? Is there a reason you are using response_type: "id_token"? I’m not sure it really makes sense to return refresh tokens in this scenario as they are used to refresh access tokens - This may be expected behavior.

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.