-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Ballinette
committed
Oct 12, 2019
1 parent
817c5cd
commit 0b91611
Showing
4 changed files
with
77 additions
and
8 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,37 @@ | ||
<!doctype html> | ||
<html lang="en"> | ||
<head> | ||
<meta charset="UTF-8"> | ||
<meta name="viewport" | ||
content="width=device-width, user-scalable=no, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0"> | ||
<meta http-equiv="X-UA-Compatible" content="ie=edge"> | ||
<link rel="stylesheet" href="/css/bulma.min.css" /> | ||
<link rel="stylesheet" href="/css/bulma-tooltip.min.css" /> | ||
<link rel="stylesheet" href="/css/main.css" /> | ||
<title>OpenID Connect Client Demo</title> | ||
</head> | ||
|
||
<body> | ||
|
||
|
||
<div class="container has-text-centered"> | ||
|
||
<img src="/img/openid.png" /> | ||
|
||
<h1 class="title has-text-grey">Consent needed</h1> | ||
<p> | ||
Do you agree to send following attributes to <%- locals.redirect_uri %> ? | ||
</p> | ||
<table> | ||
<% for (key of Object.keys(locals.user)) { %> | ||
<tr><th><%- key %></th> <td><%- locals.user[key] %></td></tr> | ||
<% } %> | ||
</table> | ||
<form action="/user/consent" method="post"> | ||
<input type="submit" name="consent" value="YES"/> | ||
<input type="submit" name="consent" value="NO"/> | ||
</form> | ||
</div> | ||
|
||
</body> | ||
</html> |