Use actix-remote-ip to reduce code base size (#5)
All checks were successful
continuous-integration/drone/push Build is passing

Use https://crates.io/crates/actix-remote-ip to remove some code redundancy

Reviewed-on: #5
This commit is contained in:
2023-04-29 09:08:18 +00:00
parent 07fc94f930
commit 40eb16cef9
7 changed files with 79 additions and 271 deletions

View File

@ -4,6 +4,7 @@
<h1>Test OIDC Authentication flow.</h1>
<p class="lead">Get started testing OIDC authentication flow</p>
<p>Redirect URI: {{ redirect_url }}</p>
<p>Your IP: {{ remote_ip }}</p>
<p class="lead">
<a href="/start" class="btn btn-lg btn-light fw-bold border-white bg-white">Start</a>
</p>