From a19ad9852945fe882be1231b727b6687bccd0b37 Mon Sep 17 00:00:00 2001 From: Frederick Muriuki Muriithi Date: Fri, 26 Apr 2024 10:05:26 +0300 Subject: Pass redirect_uri fields in POST. Use full URL Pass in the missing redirect_uri value along with login data. Use the full URI (complete with request args) as the form's action. This resolves the error raised when wrong credentials are provided. --- gn_auth/templates/oauth2/authorise-user.html | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to 'gn_auth/templates/oauth2') diff --git a/gn_auth/templates/oauth2/authorise-user.html b/gn_auth/templates/oauth2/authorise-user.html index b9284e5..c3842bf 100644 --- a/gn_auth/templates/oauth2/authorise-user.html +++ b/gn_auth/templates/oauth2/authorise-user.html @@ -7,8 +7,13 @@ {%block content%} {{flash_messages()}} -