diff options
author | Andrew Manning <tamanning@zoho.com> | 2018-02-22 15:10:05 -0500 |
---|---|---|
committer | Andrew Manning <tamanning@zoho.com> | 2018-02-22 15:10:05 -0500 |
commit | 43fca182e3915734587abf389d819546ebade3a4 (patch) | |
tree | 4d6133217f903e2bcc3e2fe7cf6c0416df44aaee /view/tpl/oauth2testvehicle.tpl | |
parent | 8e5c1135c3e2644ea8501eda067e2b994faa44ab (diff) | |
download | volse-hubzilla-43fca182e3915734587abf389d819546ebade3a4.tar.gz volse-hubzilla-43fca182e3915734587abf389d819546ebade3a4.tar.bz2 volse-hubzilla-43fca182e3915734587abf389d819546ebade3a4.zip |
The authorization step with client registration and authorization code retrieval working. Might not conform perfectly to OAuth2 spec, but it is a start.
Diffstat (limited to 'view/tpl/oauth2testvehicle.tpl')
-rw-r--r-- | view/tpl/oauth2testvehicle.tpl | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/view/tpl/oauth2testvehicle.tpl b/view/tpl/oauth2testvehicle.tpl index d4887063c..aebc71bb2 100644 --- a/view/tpl/oauth2testvehicle.tpl +++ b/view/tpl/oauth2testvehicle.tpl @@ -2,9 +2,9 @@ {{foreach $endpoints as $ept}} <div class="oath2test-form-box"> -<form action="{{$baseurl}}/{{$ept.0}}" method="post"> +<form action="{{$baseurl}}/{{$ept.0}}" method="{{$ept.4}}"> <h3>{{$ept.3}}</h3> - <p>{{$baseurl}}/{{$ept.0}}/?{{foreach $ept.1 as $field}}{{$field.0}}={{$field.1}}&<input type="hidden" name="{{$field.0}}" value="{{$field.1}}" /> {{/foreach}} + <p>{{$baseurl}}/{{$ept.0}}/?{{foreach $ept.1 as $field}}{{$field.0}}={{$field.1}}&<input type="hidden" name="{{$field.0}}" value="{{$field.1}}" />{{/foreach}} </p> <button type="submit" name="{{$ept.2}}_submit" value="submit" class="btn btn-med" title="">Submit</button> |