diff options
author | Frederick Muriuki Muriithi | 2024-05-02 16:44:06 +0300 |
---|---|---|
committer | Frederick Muriuki Muriithi | 2024-05-02 16:44:06 +0300 |
commit | 51e3a545d7380e5b1983b0a1e8b5088a88efe522 (patch) | |
tree | f61a282466ac03b10c30884e011efcdbf3b4713f /gn_auth/auth/authentication/oauth2/server.py | |
parent | 2af73069f74d68837d83d2032ea85c6dbe7c19c0 (diff) | |
download | gn-auth-51e3a545d7380e5b1983b0a1e8b5088a88efe522.tar.gz |
Include refresh tokens with generated JWT
This shim enables us to have a refresh token with the JWT. This might
not be the way to refresh JWTs - this is because the
`authlib.oauth2.rfc7523.token.JWTBearerTokenGenerator.__call__(…)`
method has a comment that states:
# there is absolutely no refresh token in JWT format
Searching on the internet, however, seems to indicate that JWTs can be
used in conjunction with refresh tokens... We need to verify this and
fix this if necessary.
Diffstat (limited to 'gn_auth/auth/authentication/oauth2/server.py')
0 files changed, 0 insertions, 0 deletions