Skip to content

Commit f67d61c

Browse files
author
Roland Hedberg
committed
Starting point for an example IdP using repoze.who .
1 parent 327fb4b commit f67d61c

File tree

11 files changed

+1482
-0
lines changed

11 files changed

+1482
-0
lines changed

example/idp2_repoze/htdocs/login.mako

Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,29 @@
1+
<%inherit file="root.mako"/>
2+
3+
<h1>Please log in</h1>
4+
<p class="description">
5+
To register it's quite simple: enter a login and a password
6+
</p>
7+
8+
<form action="${action}" method="post">
9+
<input type="hidden" name="key" value="${key}"/>
10+
<input type="hidden" name="authn_reference" value="${authn_reference}"/>
11+
<input type="hidden" name="redirect_uri" value="${redirect_uri}"/>
12+
13+
<div class="label">
14+
<label for="login">Username</label>
15+
</div>
16+
<div>
17+
<input type="text" name="login" value="${login}"/><br/>
18+
</div>
19+
20+
<div class="label">
21+
<label for="password">Password</label>
22+
</div>
23+
<div>
24+
<input type="password" name="password"
25+
value="${password}"/>
26+
</div>
27+
28+
<input class="submit" type="submit" name="form.submitted" value="Log In"/>
29+
</form>

0 commit comments

Comments
 (0)