forked from nodeSolidServer/node-solid-server
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathconsent.hbs
More file actions
31 lines (29 loc) · 1.15 KB
/
consent.hbs
File metadata and controls
31 lines (29 loc) · 1.15 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
<!doctype html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>{{title}}</title>
<!-- Bootstrap CSS and Theme for demo purposes -->
<link rel="stylesheet" href="/common/css/bootstrap.min.css">
<link rel="stylesheet" href="/common/css/solid.css">
</head>
<body>
<div class="container title">
<div class="page-title">
<h1>Authorize app to use your Web ID?</h1>
</div>
<form method="post" action="/authorize">
<input type="hidden" name="response_type" value="{{response_type}}"/>
<input type="hidden" name="display" value="{{display}}"/>
<input type="hidden" name="scope" value="{{scope}}"/>
<input type="hidden" name="client_id" value="{{client_id}}"/>
<input type="hidden" name="redirect_uri" value="{{redirect_uri}}"/>
<input type="hidden" name="state" value="{{state}}"/>
<input type="hidden" name="nonce" value="{{nonce}}"/>
<button type="submit" class="btn btn-primary" name="consent" value="true">Authorize</button>
<button type="submit" class="btn btn-default" name="cancel" value="true">Cancel</button>
</form>
</div>
</body>
</html>