Any idea how to get the scope to have ‘read:organizations’? After login, the user will want to be able to get information about the organization they just logged into. Thanks for any help.
Good question! Is this scope a permission for your own API? That is, in authorizationParams are you setting the audience to your own API that you have registered in Auth0 or are you looking to use the Management API in some way from your app?
Am trying to get auth’d with scope ‘openid profile read:organizations’ and use the resulting Access Token as the Bearer token to /api/v2/organizations Api.
Thanks for clarifying your use case - I don’t believe this is possible as is. I recommend taking a look at our documentation around Management API Access Tokens and in particular Management API Access tokens for production. Basically, this would be a separate backend process that has no user (client credentials) for which the resulting access token can be used at https://<DOMAIN>/api/v2/organizations/<ORG_ID>.