oidc-demo-app/ui/templates/index.gohtml
Jan Dittberner 9ad06a2935 Improve token handling
- add identity information to the index page
- let the session expire when the token expires
2023-07-30 16:48:26 +02:00

9 lines
No EOL
365 B
Text

{{ define "content" }}
<div class="container">
<img src="/images/CAcert-logo.svg" width="300" height="68" alt="CAcert" class="mb-4">
<h1>{{ .Greeting }}</h1>
<p>{{ .IntroductionText }}</p>
<p>{{ .AuthenticatedAs }}</p>
<a class="btn btn-outline-primary" href="{{ .LogoutURL }}">{{ .LogoutLabel }}</a>
</div>
{{ end }}