Hello.
What is the impact of `optional_scope` attribute when doing an OAuth Integration?
I thoguht it will be an optional for the user to agree as well.
But as you can see the user still has to accept all of the scopes I’m asking for.
Instead I would expect “READ” scopes as mandatory for the user, and other as OPTIONAL - with some checkboxes or other form.
Am I doing something wrong here?
Here’s my authorization URL:
https://app-eu1.hubspot.com/oauth/143120677/authorize?optional_scope=crm.objects.companies.write%20crm.lists.write%20crm.objects.line_items.write%20crm.objects.contacts.write%20crm.schemas.deals.write%20crm.objects.marketing_events.write%20crm.objects.custom.write%20crm.objects.deals.write%20crm.schemas.contacts.write%20crm.objects.quotes.write%20crm.schemas.companies.write&response_type=code&client_id=0ab82c0e-0eaa-4523-a09a-2903e327f50f&redirect_uri=http%3A%2F%2Flocalhost%3A8084%2Fv1%2Fhubspot%2Fcallback&scope=crm.objects.owners.read%20crm.lists.read%20crm.objects.deals.read%20crm.schemas.deals.read%20crm.objects.companies.read%20crm.schemas.companies.read%20crm.schemas.contacts.read%20crm.schemas.custom.read%20crm.objects.contacts.read%20crm.objects.custom.read
And here is the list of my scopes:
scopes: > crm.objects.owners.read, crm.objects.custom.read, crm.objects.companies.read, crm.lists.read, crm.objects.deals.read, crm.objects.contacts.read, crm.schemas.companies.read, crm.schemas.contacts.read, crm.schemas.custom.read, crm.schemas.deals.readoptional-scopes: > crm.objects.contacts.write, crm.objects.marketing_events.write, crm.objects.custom.write, crm.objects.companies.write, crm.lists.write, crm.objects.deals.write, crm.schemas.companies.write, crm.schemas.contacts.write, crm.schemas.deals.write, crm.objects.quotes.write, crm.objects.line_items.write
