Allow apps to dynamically generate OAuth scopes
This replaces the settings merging for the static `OAUTH2_PROVIDER["SCOPES"]` setting. Attention: Breaking change, only release with next major version. Can be backported to minor release if support for old mechanism is glued into the new one, with a deprecation warning.
Showing
- aleksis/core/apps.py 16 additions, 0 deletionsaleksis/core/apps.py
- aleksis/core/settings.py 1 addition, 7 deletionsaleksis/core/settings.py
- aleksis/core/util/apps.py 28 additions, 1 deletionaleksis/core/util/apps.py
- aleksis/core/util/auth_helpers.py 43 additions, 0 deletionsaleksis/core/util/auth_helpers.py
Loading