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
Copy file name to clipboardExpand all lines: CHANGELOG.md
+7-1
Original file line number
Diff line number
Diff line change
@@ -19,7 +19,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
19
19
## [2.0.0] unreleased
20
20
21
21
### Added
22
-
*#1106 Add "scopes_supported" to the [ConnectDiscoveryInfoView](https://django-oauth-toolkit.readthedocs.io/en/latest/oidc.html#connectdiscoveryinfoview).
22
+
*#1106OIDC: Add "scopes_supported" to the [ConnectDiscoveryInfoView](https://django-oauth-toolkit.readthedocs.io/en/latest/oidc.html#connectdiscoveryinfoview).
23
23
This completes the view to provide all the REQUIRED and RECOMMENDED [OpenID Provider Metadata](https://openid.net/specs/openid-connect-discovery-1_0.html#ProviderMetadata).
24
24
25
25
### Changed
@@ -28,7 +28,13 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
28
28
cleartext `application.client_secret` values to be hashed with Django's default password hashing algorithm
29
29
and can not be reversed. When adding or modifying an Application in the Admin console, you must copy the
30
30
auto-generated or manually-entered `client_secret` before hitting Save.
31
+
*#1108 OIDC: (**Breaking**) Add default configurable OIDC standard scopes that determine which claims are returned.
32
+
If you've [customized OIDC responses](https://django-oauth-toolkit.readthedocs.io/en/latest/oidc.html#customizing-the-oidc-responses)
33
+
and want to retain the pre-2.x behavior, set `oidc_claim_scope = None` in your subclass of `OAuth2Validator`.
34
+
*#1108 OIDC: Make the `access_token` available to `get_oidc_claims` when called from `get_userinfo_claims`.
31
35
36
+
### Fixed
37
+
*#1108 OIDC: Fix `validate_bearer_token()` to properly set `request.scopes` to the list of granted scopes.
0 commit comments