Renewal Token ID with Refresh Token

Hello,

I want to refresh the token as explained here (to regenerate the token ID before it expires): https://auth0.com/docs/tokens/refresh-token/current#use-a-refresh-token
But I can’t get a new token ID, while “openid offline_access” is present in the scope.

Here is an example of an answer:

{
“access_token”: “GwcapevGAi2DT0fl4Hp-S8u4adwCidZa”,
“expires_in”: 86400,
“token_type”: “Bearer”
}

And my code :

let options = {
  scope: 'openid profile offline_access',
  device: 'chrome-extension'
};

new Auth0Chrome(Variables.AUTH0_DOMAIN, Variables.AUTH0_CLIENT_ID)
.authenticate(options)
.then(result => {
  // Process
});

Do you have an explanation, please ?

1 Like

Is this a bug or a configuration problem?

Hey there!

Sorry for such huge delay in response! We’re doing our best in providing you with best developer support experience out there, but sometimes our bandwidth is not enough comparing to the number of incoming questions.

Wanted to reach out to know if you still require further assistance?