mirror of
https://git.anonymousland.org/anonymousland/synapse.git
synced 2025-05-02 21:34:51 -04:00
Replace pyjwt with authlib in org.matrix.login.jwt
(#13011)
This commit is contained in:
parent
e12ff697a4
commit
7d99414edf
8 changed files with 100 additions and 57 deletions
|
@ -2946,8 +2946,10 @@ Additional sub-options for this setting include:
|
|||
tokens. Defaults to false.
|
||||
* `secret`: This is either the private shared secret or the public key used to
|
||||
decode the contents of the JSON web token. Required if `enabled` is set to true.
|
||||
* `algorithm`: The algorithm used to sign the JSON web token. Supported algorithms are listed at
|
||||
https://pyjwt.readthedocs.io/en/latest/algorithms.html Required if `enabled` is set to true.
|
||||
* `algorithm`: The algorithm used to sign (or HMAC) the JSON web token.
|
||||
Supported algorithms are listed
|
||||
[here (section JWS)](https://docs.authlib.org/en/latest/specs/rfc7518.html).
|
||||
Required if `enabled` is set to true.
|
||||
* `subject_claim`: Name of the claim containing a unique identifier for the user.
|
||||
Optional, defaults to `sub`.
|
||||
* `issuer`: The issuer to validate the "iss" claim against. Optional. If provided the
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue