print more infos to the user while oauth authorize

This commit is contained in:
TuxCoder 2020-05-13 20:08:55 +02:00
parent aaf428575b
commit 157bf65635
2 changed files with 10 additions and 4 deletions

View file

@ -33,7 +33,9 @@ def registration_endpoint():
@login_required
def authentication_endpoint_confirm():
form = OidcAuthenticationConfirm()
return render_template('frontend/oidc_authentication.html.j2', form=form)
auth_req = current_app.provider.parse_authentication_request(urlencode(flask.request.args),
flask.request.args)
return render_template('frontend/oidc_authentication.html.j2', form=form, auth_req=auth_req)
@oidc_provider_views.route('/authentication', methods=['POST'])