Hi there. I’m having the same issue as this topic, however that topic was closed and the solution provided there doesn’t really seem to solve this issue. Like in that issue, I’m trying to set the scope read:users
but I’m also trying to set create:users
. I’ve checked that my audience is correct for my domain, i.e. using https://YOUR_AUTH0_DOMAIN/api/v2/
. Also I’m looked over the example of making a patch in iOS and found that trying to add the scope I need fails even in that project, so there must be something else that I’m missing entirely for these particular scopes.
My code is:
Auth0
.webAuth()
.scope("openid profile offline_access read:current_user read:users create:users")
.audience("https://" + clientInfo.domain + "/api/v2/")
.start {
The scopes that are set from this call are everything except for the read:users
and create:users
scopes. Adding/removing any of the other scopes updates the scopes set appropriately, so I’m guessing there’s something special needed to set the read:users
and create:users
scopes?
To show you, even the sample project doesn’t add the scopes when I modify it like this:
Auth0
.webAuth()
.scope("openid profile offline_access read:current_user update:current_user_metadata read:users create:users")
.audience("https://" + clientInfo.domain + "/api/v2/")
.start {
I’m noticing the same thing as in my project code above. All of the other scopes are set except for create:users
and read:users
, so this isn’t just an issue with my project. Any help would be greatly appreciated!