How to request more than one scope using Org Auth Server?

Hello team,
how are you?

I am having difficulty requesting more than one scope in the authentication process, I am using the Org Auth Server, that means, making calls to

oauth2/v1/authorize
oauth2/v1/token

and I have the following behavior, when I request just one scope, for example okta.users.read.self, the request returns a success, but when I need to use more than one scope at the same time, for example, okta.users.read.self and okta.policies.read, I’m getting an error that “custom scopes” are not supported in that call, but I’m not asking for custom scopes, so my guess is that I don’t know how to add more than one scope to the request.

Does anyone have an example, please?
Thank you very much =)

I discovered the problem, I was using commas as a delimiter between scopes, and the correct option is to use spaces :man_facepalming:

thanks anyway =)

1 Like

This topic was automatically closed 24 hours after the last reply. New replies are no longer allowed.