forked from orbit-oss/flask
Added OpenID example
This commit is contained in:
parent
67fc465262
commit
bc0c0559e3
9 changed files with 390 additions and 0 deletions
12
examples/openidexample/templates/login.html
Normal file
12
examples/openidexample/templates/login.html
Normal file
|
|
@ -0,0 +1,12 @@
|
|||
{% extends "layout.html" %}
|
||||
{% block title %}Sign in{% endblock %}
|
||||
{% block body %}
|
||||
<h2>Sign in</h2>
|
||||
<form action="" method=post>
|
||||
<p>
|
||||
OpenID:
|
||||
<input type=text name=openid size=30>
|
||||
<input type=submit value="Sign in">
|
||||
<input type=hidden name=next value="{{ next_url }}">
|
||||
</form>
|
||||
{% endblock %}
|
||||
Loading…
Add table
Add a link
Reference in a new issue