Auth0 Docs home page
Search...
⌘K
Ask AI
Log In
Contact Sales
Sign Up
Sign Up
Search...
Navigation
Authentication Issues
Troubleshoot Role-Based Access Control and Authorization
Documentation
Quickstarts
API Reference
SDKs
Troubleshoot
Explore solutions to common challenges
Troubleshoot
Get Support
Customer Support
Troubleshoot
Commonplace Issues
Authentication Issues
Troubleshoot Authentication Issues
Check API Calls
Check Login and Logout Issues
Check User Profiles
Troubleshoot Role-Based Access Control and Authorization
Troubleshoot Multi-Factor Authentication Issues
Troubleshoot SAML Configurations
Troubleshoot SAML Errors
Self Change Password Errors
Troubleshoot Authorization Extension
Troubleshoot Renew Tokens When Using Safari
Integration and Extensibility Issues
Deploy and Monitor Issues
Troubleshooting Tools
Debugging Best Practices
Error Handling Best Practices
Performance Best Practices
General Usage and Operations Best Practices
Auth0 Product Lifecycle
Product Lifecycle
Auth0 Community
Auth0 Blog
On this page
Role-based access control is enabled for my API, but the scopes claim is not showing what you say it should
Troubleshoot
Authentication Issues
Troubleshoot Role-Based Access Control and Authorization
Copy page
Copy page
Here are some solutions to common issues experienced when implementing
role-based access control (RBAC)
using the Authorization Core feature set.
Role-based access control is enabled for my API, but the scopes claim is not showing what you say it should
Make sure that you aren’t setting
accessToken.scope
in a rule.
Remember that any configured
authorization rules
run after the RBAC-based authorization decisions are made, so they may override the default behavior.
Was this page helpful?
Yes
No
Check User Profiles
Previous
Troubleshoot Multi-Factor Authentication Issues
Next
Assistant
Responses are generated using AI and may contain mistakes.