aboutsummaryrefslogtreecommitdiff
path: root/gn_auth
diff options
context:
space:
mode:
Diffstat (limited to 'gn_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: