feat: add form_post method
This commit is contained in:
13
templates/authorize_form_post.tmpl
Normal file
13
templates/authorize_form_post.tmpl
Normal 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>
|
Reference in New Issue
Block a user