-
Notifications
You must be signed in to change notification settings - Fork 46
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #43 from ByteInternet/add_changelog
Add CHANGELOG.md
- Loading branch information
Showing
1 changed file
with
16 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
<h1>Changelog</h1> | ||
<h2>1.0.0</h2> | ||
Replace the deprecated `jwkest` library with the maintained `authlib` library. Note that this is not backwards compatible, but this might not be immediately obvious. You have to adjust your settings, i.e. `OIDC_AUDIENCES` is deprecated and replaced by: | ||
|
||
``` | ||
'OIDC_CLAIMS_OPTIONS': { | ||
'aud': { | ||
'values': ['my_audience'], | ||
'essential': True, | ||
} | ||
} | ||
``` | ||
|
||
Please note the addition of `essential: True` in this dict. If you leave this out it will mean that _any_ audience will have access to your API. This is probably not what you want, so please make sure you add this to your settings if you're coming from a previous version. | ||
|
||
Also note that cryptography needs to be a least version 2.6 to work with the new authlib library. |