Marketing Integrations

VElle
Membre

How to get users to re-authorize

Résolue

I added scopes with the development account, and the install url has also changed. After testing, it is found that as long as the user clicks the updated install url, it will prompt the user to re-authorize. So how can I get all my users to re-authorize? It is impossible to send install url to every user. Is there any other way? And there is another problem. scopes was added directly before, and users will report errors directly when accessing hubspot through our app. Why not prompt users to re-authorize?

0 Votes
1 Solution acceptée
JessieS
Solution
Modérateur HubSpot
Modérateur HubSpot

How to get users to re-authorize

Résolue

Hi @VElle!

Good afternoon and thanks for the feedback! 

From my understanding, you added scopes in your developer account and the install url changed, so there are two issues at hand:

  1. After testing, you observed that if a user clicks the updated install url, it will prompt the user to re-authorize.

    You want your users to be able to be re-authorized in bulk and you would prefer not to send each of them the new install url
  2. Scopes was added before the install URL changed, so users will report errors directly when accessing Hubspot through your app. You want a prompt for all users to re-authorize.


A few questions for further clarity on your goal and roadblock: 

  • When you reference a new install URL, do you mean the URL for your HubSpot users to use your third party app?
  • Do you know what kind of scopes were added?
  • Without posting any sensitive information, are you able to share visuals or a video of the step by step to reproduce the issue, including the prompt an existing user who already installed the app would get?
  • Could users try updating the app to reauthorize?

    I found a related Developer doc that references the install URL/OAuth (this specifically refers to sunsetted contact scopes) that is used for authorization so sharing it in case it's of use! https://developers.hubspot.com/changelog/upcoming-contacts-scope-sunset

    If existing users run into access issues due to the changed authorization URL to use your app, reinstalling could be another option as you've noted clicking the new URL prompts re-authorization. 

    @Jaycee_Lewis and @lynton how would you approach reauthorizing existing users on a third-party apps connecting with HubSpot when the install URL changes? Is there a way around sending each user the new install URL if the scopes were added before?

    Thank you,
    Jessie





Voir la solution dans l'envoi d'origine

1 Réponse
JessieS
Solution
Modérateur HubSpot
Modérateur HubSpot

How to get users to re-authorize

Résolue

Hi @VElle!

Good afternoon and thanks for the feedback! 

From my understanding, you added scopes in your developer account and the install url changed, so there are two issues at hand:

  1. After testing, you observed that if a user clicks the updated install url, it will prompt the user to re-authorize.

    You want your users to be able to be re-authorized in bulk and you would prefer not to send each of them the new install url
  2. Scopes was added before the install URL changed, so users will report errors directly when accessing Hubspot through your app. You want a prompt for all users to re-authorize.


A few questions for further clarity on your goal and roadblock: 

  • When you reference a new install URL, do you mean the URL for your HubSpot users to use your third party app?
  • Do you know what kind of scopes were added?
  • Without posting any sensitive information, are you able to share visuals or a video of the step by step to reproduce the issue, including the prompt an existing user who already installed the app would get?
  • Could users try updating the app to reauthorize?

    I found a related Developer doc that references the install URL/OAuth (this specifically refers to sunsetted contact scopes) that is used for authorization so sharing it in case it's of use! https://developers.hubspot.com/changelog/upcoming-contacts-scope-sunset

    If existing users run into access issues due to the changed authorization URL to use your app, reinstalling could be another option as you've noted clicking the new URL prompts re-authorization. 

    @Jaycee_Lewis and @lynton how would you approach reauthorizing existing users on a third-party apps connecting with HubSpot when the install URL changes? Is there a way around sending each user the new install URL if the scopes were added before?

    Thank you,
    Jessie