-
Notifications
You must be signed in to change notification settings - Fork 68
Description
Checklist
- I agree to the terms within the Auth0 Code of Conduct.
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-scopesand the new option would then be--scopes- failing that, maybe: rename
--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)
- failing that, maybe: rename
-
the default Admin Role requirement / presumption re. scopes should be documented
Alternatives and current workarounds
None.
Additional context
No response