aboutsummaryrefslogtreecommitdiff
path: root/gn_auth/auth
diff options
context:
space:
mode:
authorFrederick Muriuki Muriithi2024-04-20 16:52:15 +0300
committerFrederick Muriuki Muriithi2024-04-20 17:31:42 +0300
commit754a214de36e0f51dda82d4fa5f645f2f7e6ccc4 (patch)
treeeabdcd14f2b20465278527f79fa8252064b10348 /gn_auth/auth
parent6671e9a32e00bb01a744d7b564193d54f454e2ce (diff)
downloadgn-auth-754a214de36e0f51dda82d4fa5f645f2f7e6ccc4.tar.gz
Use the response_type in the request.
Diffstat (limited to 'gn_auth/auth')
-rw-r--r--gn_auth/auth/authentication/oauth2/views.py2
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: