feat: add form_post method

This commit is contained in:
Lakhan Samani
2022-10-16 20:46:54 +05:30
parent ff805e3ef2
commit 2bd92d6028
4 changed files with 118 additions and 77 deletions

View File

@@ -0,0 +1,13 @@
<!DOCTYPE html>
<html>
<head>
<title>Authorization Response</title>
</head>
<body onload="document.forms['authorize_form_post'].submit()">
<form action={{.target_origin}} name="authorize_form_post">
{{ range $key, $val := .authorization_response }}
<input type="hidden" key={{$key}} value={{$val}} name={{$key}} id={{$key}} />
{{ end }}
</form>
</body>
</html>