-
Notifications
You must be signed in to change notification settings - Fork 303
Closed
Labels
enhancementNew feature or requestNew feature or requestfix confirmation pendingissue has been fixed and confirmation from issue reporter is pendingissue has been fixed and confirmation from issue reporter is pending
Description
Describe the bug
First off, thank you for a great project. I'm setting up my first usage of it and am finding that the OAUTH2_SCOPES setting is getting ignored. This is an issue for me, in that I'd like to hide some system scopes that are unrelated to typical consumers of the API.
To Reproduce
If I set OAUTH2_SCOPES to some limited set of scopes that I'm OK being visible in the Swagger UI, the full set of scopes in my backend's get_all_scopes
is called instead. It looks like the OAUTH2_SCOPES setting is never referenced in django_oauth_toolkit.py
.
Expected behavior
Given the docs, I'd expect that I could leave my scope backend as-is and overwrite what scopes I want to appear in the Swagger UI.
Metadata
Metadata
Assignees
Labels
enhancementNew feature or requestNew feature or requestfix confirmation pendingissue has been fixed and confirmation from issue reporter is pendingissue has been fixed and confirmation from issue reporter is pending