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
Hello Guys
I need to generate scopes based on user (Django) permissions
This is possible?
Every time that i am generating a token, the scopes is only "scope": "read write"
I know how scopes works, and i have made tests, but i do it, editing Access tokens scopes on Django Admin
I need to generate the token with the correctly scopes, based on Users.
The text was updated successfully, but these errors were encountered:
when you call token api you could provide scope also: curl -X POST -d "grant_type=password&username=USERNAME&password=PASSWORD&scope=SCOPE1 SCOPE2" -u”APPLICATION_ID:SECRET_KEY" BASE_URL/o/token/
Now your token should have scope: SCOPE1, SCOPE2. You could also set the default scope on settings: 'DEFAULT_SCOPES': ['read', 'write', 'SCOPE1', 'SCOPE2']
Hello Guys
I need to generate scopes based on user (Django) permissions
This is possible?
Every time that i am generating a token, the scopes is only "scope": "read write"
I know how scopes works, and i have made tests, but i do it, editing Access tokens scopes on Django Admin
I need to generate the token with the correctly scopes, based on Users.
The text was updated successfully, but these errors were encountered: