diff options
| author | Leonardo Bishop <me@leonardobishop.net> | 2026-01-16 17:19:27 +0000 |
|---|---|---|
| committer | Leonardo Bishop <me@leonardobishop.net> | 2026-01-16 17:19:27 +0000 |
| commit | e6cbb8415490524034561102b6c9f03e92e4dae7 (patch) | |
| tree | 2012f04c11adf636bdd06ae37f5ef3efd7a645a0 /web/views/auth.html | |
| parent | 8fc52adfdc705a1b05d3a0aef4d6e63f8ec0308d (diff) | |
Add OIDC auth
Diffstat (limited to 'web/views/auth.html')
| -rw-r--r-- | web/views/auth.html | 21 |
1 files changed, 20 insertions, 1 deletions
diff --git a/web/views/auth.html b/web/views/auth.html index 995815a..17ca83d 100644 --- a/web/views/auth.html +++ b/web/views/auth.html @@ -18,6 +18,25 @@ <div class="col-12 col-md-6 col-lg-4"> <div class="card mx-auto"> <div class="card-body"> + <h4 class="card-title mb-3">Welcome</h4> + + <p>Please authenticate to spawn challenge instances.</p> + + {{if .Error}} + <div class="alert alert-danger" role="alert"> + {{.Error}} + </div> + {{end}} + + <form method="POST"> + <button type="submit" class="btn btn-primary w-100"> + Login with {{ .OidcIdPName }} + </button> + </form> + </div> + </div> +<!-- <div class="card mx-auto"> + <div class="card-body"> <h4 class="card-title mb-3">Enter a team ID</h4> <div id="auth-response"></div> @@ -33,7 +52,7 @@ </div> </form> </div> - </div> + </div> --> <div class="card mt-4 mx-auto"> <div class="card-body"> |
