2021-06-30 16:50:01 +00:00
|
|
|
<!--
|
2023-06-22 22:12:33 +00:00
|
|
|
Copyright 2021-2023 the Pinniped contributors. All Rights Reserved.
|
2021-06-30 16:50:01 +00:00
|
|
|
SPDX-License-Identifier: Apache-2.0
|
|
|
|
--><!DOCTYPE html>
|
|
|
|
<html lang="en">
|
|
|
|
<head>
|
|
|
|
<meta charset="UTF-8">
|
|
|
|
<style>{{ minifiedCSS }}</style>
|
|
|
|
<script>{{ minifiedJS }}</script>
|
|
|
|
<link id="favicon" rel="icon"/>
|
|
|
|
</head>
|
|
|
|
<body>
|
|
|
|
<noscript>
|
|
|
|
To finish logging in, paste this authorization code into your command-line session: {{ .Parameters.Get "code" }}
|
|
|
|
</noscript>
|
|
|
|
<form>
|
|
|
|
<input type="hidden" name="redirect_uri" value="{{ .RedirURL }}"/>
|
|
|
|
<input type="hidden" name="encoded_params" value="{{ .Parameters.Encode }}"/>
|
|
|
|
</form>
|
|
|
|
<div id="loading" class="state" data-favicon="⏳" data-title="Logging in..." hidden></div>
|
|
|
|
<div id="success" class="state" data-favicon="✅" data-title="Login succeeded" hidden>
|
|
|
|
<h1>Login succeeded</h1>
|
|
|
|
<p>You have successfully logged in. You may now close this tab.</p>
|
|
|
|
</div>
|
|
|
|
<div id="manual" class="state" data-favicon="⌛" data-title="Finish your login" hidden>
|
|
|
|
<h1>Finish your login</h1>
|
|
|
|
<p>To finish logging in, paste this authorization code into your command-line session:</p>
|
|
|
|
<button id="manual-copy-button">
|
|
|
|
<span class="copy-icon"></span>
|
|
|
|
<code id="manual-auth-code">{{ .Parameters.Get "code" }}</code>
|
|
|
|
</button>
|
|
|
|
</div>
|
2023-09-28 21:17:02 +00:00
|
|
|
<div id="error" class="state" data-favicon="⛔" data-title="Error during login" hidden>
|
|
|
|
<h1>Error during login</h1>
|
|
|
|
<p id="message" class="error"></p>
|
|
|
|
<p>Please try again.</p>
|
|
|
|
</div>
|
2021-06-30 16:50:01 +00:00
|
|
|
</body>
|
|
|
|
</html>
|