I'm then authenticating with a user that is not Super Admin but that got granted all permissions manually.
Yet I end up with this error:
Couldn’t complete the connection Authorization failed because you don't have permissions to authorize the scopes required by the app. Please contact your super admin to get the necessary permissions
I don't know what to do at this point, especially knowing that the Optional Scopes seem to be designed to authorize the application installation even if the user doesn't carry the permission involved by those scopes.
[Authorize] Couldn’t complete the connection (with optional scopes)
Upon rereading your post, I see you mentioned removing the problematic scope. I'd reopen your support ticket, or file a new one, and (make sure the user on your end who replies to support is listed in your portal) include an updated error message and correlation ID. I don't have access to the internal tool to process those for you, but support does.
[Authorize] Couldn’t complete the connection (with optional scopes)
Thank you for your answer.
Will the support contact us by email or something ? I still didn't receive anything. This error is pretty critical as our customers shouldn't need to be super admin to use our application.
[Authorize] Couldn’t complete the connection (with optional scopes)
Hi there. It will depend on how your response to support. Did you reopen your previous support ticket for this issue, or create a new one? Support doesn't work from the community, so you'll need to either create a new ticket or reopen one to work with them.
[Authorize] Couldn’t complete the connection (with optional scopes)
Hi,
I could not reopen my previous ticket because it was first opened from an issue one of our customer had. When we reproduced the behavior on our account the support agent told us to open a new ticket.
Now, I'm struggling to find my way to how actually open a new ticket for this issue, as I only have a developer account I don't think it's possible for me to open a new one.
What should i do to open a new ticket with your support, with my developper account ?
[Authorize] Couldn’t complete the connection (with optional scopes)
Hey, @ClicData👋 Looking at what support told you, it's the scope `account-info.security.read` that is your roadblock. This permission is only available at the super admin level. This is why setting it to optional isn't working for non-admins.
The Optional Scopes setting works a bit differently than what you described — it is intended to allow for different product subscriptions levels to use the same app. Meaning, if your app can be installed on accounts with both Marketing Hub Pro and Enterprise, you'd want to set the Optional Scopes for any scopes that are Enterprise-only. They are not intended to allow non-admin users to install an app where a super-admin only scope is included.
I agree this should be more clear in the error messaging and documentation. I'll provide the suggestion to my internal resources and include this post as an example.
My read of the documentation matches what support told you, there is not a way to circumvent a super admin having to install an app when it includes a scope such as `account-info.security.read`.
[Authorize] Couldn’t complete the connection (with optional scopes)
Hi,I could not reopen my previous ticket because it was first opened from an issue one of our customer had. When we reproduced the behavior on our account the support agent told us to open a new ticket.
Now, I'm struggling to find my way to how actually open a new ticket for this issue, as I only have a developer account I don't think it's possible for me to open a new one.What should i do to open a new ticket with your support, with my developper account ?Thanks for your help