You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
42 lines
2.0 KiB
42 lines
2.0 KiB
<html> |
|
<head> |
|
<meta charset="utf-8"> |
|
<title>Light OIDC</title> |
|
<script src="scripts/common.js"></script> |
|
<script src="scripts/user.js"></script> |
|
<script src="scripts/authorization.js"></script> |
|
<link rel="stylesheet" href="style.css" /> |
|
<meta name="viewport" content="width=device-width, initial-scale=1.0"> |
|
</head> |
|
<body> |
|
<nav></nav> |
|
<div id="content" style="display: none"> |
|
A relying party, <span id="rp">unknown</span>, requested access to the following information: |
|
<ul id="scopes"> |
|
|
|
</ul> |
|
Do you consent to share this information with <span id="rp2">unknown</span>? |
|
<button type="button" onclick="grantAutorization(1)">Yes - for 1 day</button> |
|
<button type="button" onclick="grantAutorization(7)">Yes - for 1 week</button> |
|
<button type="button" onclick="grantAutorization(30)">Yes - for 1 month</button> |
|
<button type="button" onclick="grantAutorization(365)">Yes - for 1 year</button> |
|
<button type="button" onclick="denyAutorization()">No</button> |
|
</div> |
|
<div id="error_missing_parameter" class="error" style="display: none"> |
|
Request does not contain required parameter "<span id="parameter"></span>"! |
|
</div> |
|
<div id="error_unknown_client" class="error" style="display: none"> |
|
Client "<span id="client_id"></span>" unknown to backend! |
|
</div> |
|
<div id="error_unsupported_response_type" class="error" style="display: none"> |
|
Response type "<span id="response_type"></span>" not supported! |
|
</div> |
|
<div id="error_missing_code" class="error"> |
|
Missing response type: code |
|
</div> |
|
<div id="error_invalid_redirect" class="error" style="display: none"> |
|
invalid redirect: <span id="redirect_uri"></span> |
|
</div> |
|
<div id="missing_scopes" class="error" style="display: none">Authorization resource contained neither list of <em>unauthorized scopes</em> nor list of <em>authorized scopes</em>! This is a server problem.</div> |
|
</body> |
|
</html> |