Checklist
Describe the problem you'd like to have solved
Seems that at present auth0 requires the Admin Role on a tenancy. It would be good to support other roles, e.g. Viewer access for logs.
At present a Viewer role gets a failure message "We are not able to activate your device." from the activate URL, and "User is not authorized.." from the CLI.
Describe the ideal solution
I believe this would be accomplished by way of specifying the desired scopes at logon. auth0 login --scopes is documented as adding the given scopes; there appears to be no means on reducing or explicitly expressing the desired scopes as is needed for the above.
-
there needs to be an new option that allows explicitly setting scopes; ideally the existing option would be renamed to be --add-scopes and the new option would then be --scopes
- failing that, maybe: rename
--scopes as --scopes-add (deprecate --scopes), add --scopes-set and a --scopes-del for good measure (i.e. where it's simpler to express what you want as the default set minus a few scopes)
-
the default Admin Role requirement / presumption re. scopes should be documented
Alternatives and current workarounds
None.
Additional context
No response
Checklist
Describe the problem you'd like to have solved
Seems that at present
auth0requires the Admin Role on a tenancy. It would be good to support other roles, e.g. Viewer access for logs.At present a Viewer role gets a failure message "We are not able to activate your device." from the
activateURL, and "User is not authorized.." from the CLI.Describe the ideal solution
I believe this would be accomplished by way of specifying the desired scopes at logon.
auth0 login --scopesis documented as adding the given scopes; there appears to be no means on reducing or explicitly expressing the desired scopes as is needed for the above.there needs to be an new option that allows explicitly setting scopes; ideally the existing option would be renamed to be
--add-scopesand the new option would then be--scopes--scopesas--scopes-add(deprecate--scopes), add--scopes-setand a--scopes-delfor good measure (i.e. where it's simpler to express what you want as the default set minus a few scopes)the default Admin Role requirement / presumption re. scopes should be documented
Alternatives and current workarounds
None.
Additional context
No response