aboutsummaryrefslogtreecommitdiff
path: root/gn_auth/templates/oauth2
diff options
context:
space:
mode:
authorFrederick Muriuki Muriithi2024-08-20 15:22:03 -0500
committerFrederick Muriuki Muriithi2024-08-20 16:03:51 -0500
commit41d5835414082fc6e21f2d668ffd07a34afcf6ec (patch)
treee8fec13631945713e98280c276d50c0eb4b92234 /gn_auth/templates/oauth2
parentc16eb0722657e7804aeb930749d4c2cc2cc89aff (diff)
downloadgn-auth-41d5835414082fc6e21f2d668ffd07a34afcf6ec.tar.gz
Pass GET parameters for correct redirection.
Diffstat (limited to 'gn_auth/templates/oauth2')
-rw-r--r--gn_auth/templates/oauth2/authorise-user.html5
1 files changed, 4 insertions, 1 deletions
diff --git a/gn_auth/templates/oauth2/authorise-user.html b/gn_auth/templates/oauth2/authorise-user.html
index 07edb73..2ef22af 100644
--- a/gn_auth/templates/oauth2/authorise-user.html
+++ b/gn_auth/templates/oauth2/authorise-user.html
@@ -33,7 +33,10 @@
<div class="form-group">
<input type="submit" value="authorise" class="btn btn-primary" />
{%if display_forgot_password%}
- <a href="{{url_for('oauth2.users.forgot_password')}}"
+ <a href="{{url_for('oauth2.users.forgot_password',
+ client_id=client.client_id,
+ redirect_uri=redirect_uri,
+ response_type=response_type)}}"
title="Click here to change your password."
class="form-text text-danger">Forgot Password</a>
{%endif%}