APIs & Integrations

Hima
Participant

Whats is the impact on previously issued tokens if oAuth scopes are updated

SOLVE

What happens to previously issued tokens if I introduce additional oAuth scopes to an app?

 

1. Previously issued tokens will stop working

 

2. Previously issued tokens will fail to renew through a refresh token

 

3. Previously issued tokens will function without the capabilities introduced through new oAuth scopes 

 

4. Previously issued tokens will function and they will have the capabilities introduced through new oAuth scope

 

******

My app already has Contact scope. I'm looking to add Content scope.

******

 

0 Upvotes
1 Accepted solution
IsaacTakushi
Solution
HubSpot Employee
HubSpot Employee

Whats is the impact on previously issued tokens if oAuth scopes are updated

SOLVE

Hi, @Hima.

 

Apologies for the delayed response.

 

Outcome 3 would occur: Previously issued tokens will function without the capabilities introduced through new oAuth scopes.

 

In order for OAuth tokens to gain that new scope's functionality, your app will have to be reconnected to the client account (so that a user can approve the app's new permission request).

Isaac Takushi

Associate Certification Manager

View solution in original post

1 Reply 1
IsaacTakushi
Solution
HubSpot Employee
HubSpot Employee

Whats is the impact on previously issued tokens if oAuth scopes are updated

SOLVE

Hi, @Hima.

 

Apologies for the delayed response.

 

Outcome 3 would occur: Previously issued tokens will function without the capabilities introduced through new oAuth scopes.

 

In order for OAuth tokens to gain that new scope's functionality, your app will have to be reconnected to the client account (so that a user can approve the app's new permission request).

Isaac Takushi

Associate Certification Manager