diff options
author | Frederick Muriuki Muriithi | 2024-04-20 16:52:15 +0300 |
---|---|---|
committer | Frederick Muriuki Muriithi | 2024-04-20 17:31:42 +0300 |
commit | 754a214de36e0f51dda82d4fa5f645f2f7e6ccc4 (patch) | |
tree | eabdcd14f2b20465278527f79fa8252064b10348 /gn_auth | |
parent | 6671e9a32e00bb01a744d7b564193d54f454e2ce (diff) | |
download | gn-auth-754a214de36e0f51dda82d4fa5f645f2f7e6ccc4.tar.gz |
Use the response_type in the request.
Diffstat (limited to 'gn_auth')
-rw-r--r-- | gn_auth/auth/authentication/oauth2/views.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gn_auth/auth/authentication/oauth2/views.py b/gn_auth/auth/authentication/oauth2/views.py index ac74739..add2cba 100644 --- a/gn_auth/auth/authentication/oauth2/views.py +++ b/gn_auth/auth/authentication/oauth2/views.py @@ -48,7 +48,7 @@ def authorise(): "oauth2/authorise-user.html", client=client, scope=client.scope, - response_type="code") + response_type=request.args["response_type"]) form = request.form def __authorise__(conn: db.DbConnection) -> Response: |