aboutsummaryrefslogtreecommitdiff
path: root/.guix-channel
diff options
context:
space:
mode:
authorJohn Nduli2024-07-31 10:54:42 +0300
committerFrederick Muriuki Muriithi2024-08-02 15:45:48 -0500
commitf540322213fc7949695283a82eb8513c4a8a7f3e (patch)
treedabe0249a2697cb59ff9ba9fd841e6916a7f92ad /.guix-channel
parent13c14ade387e78e290267c055f24b035c9e2868c (diff)
downloadgn-auth-f540322213fc7949695283a82eb8513c4a8a7f3e.tar.gz
fix: use json to support parsing oauth2 requests
The local sign in request used by gn2 uses json. However, the default parsing assumes form data, see: - https://github.com/lepture/authlib/blob/v1.2.0/authlib/integrations/flask_oauth2/authorization_server.py#L72 - https://github.com/lepture/authlib/blob/v1.2.0/authlib/integrations/flask_helpers.py#L5 We create a custom Authorization server that defaults to `use_json=True` when creating the oauth request object
Diffstat (limited to '.guix-channel')
0 files changed, 0 insertions, 0 deletions