From 754a214de36e0f51dda82d4fa5f645f2f7e6ccc4 Mon Sep 17 00:00:00 2001 From: Frederick Muriuki Muriithi Date: Sat, 20 Apr 2024 16:52:15 +0300 Subject: Use the response_type in the request. --- gn_auth/auth/authentication/oauth2/views.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'gn_auth/auth') 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: -- cgit v1.2.3