You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If read:orders is not included, the organization token created using getOrganizationToken does not contain the scope field. Which is a bit useless in terms of a multi tenacy app, where we planned on using for org scoped requests. To get the permissions in the backend, we would need to make an extra api call to logto.
And since we have a lot of permissions, it is a bit impractical to enumerate all those permissions in the config. Only specifying read and write also does not work (similar to what is documented for resources access token)
It would be great to be able to specify wildcard scopes in the config, like read:*, write:*
The text was updated successfully, but these errors were encountered:
What problem did you meet?
you have to enumerate all the permissions in the idtoken request config in order to have the scopes in the organization token.
Describe what you'd like Logto to have
scopes
in organization token are only available when the permissions are included as scope in the initial configIf
read:orders
is not included, the organization token created usinggetOrganizationToken
does not contain the scope field. Which is a bit useless in terms of a multi tenacy app, where we planned on using for org scoped requests. To get the permissions in the backend, we would need to make an extra api call to logto.And since we have a lot of permissions, it is a bit impractical to enumerate all those permissions in the config. Only specifying
read
andwrite
also does not work (similar to what is documented for resources access token)It would be great to be able to specify wildcard scopes in the config, like
read:*
,write:*
The text was updated successfully, but these errors were encountered: