OAUTH2_SCOPES ignored #1319
Labels
enhancement
New feature or request
fix confirmation pending
issue has been fixed and confirmation from issue reporter is pending
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 indjango_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.
The text was updated successfully, but these errors were encountered: