Fix non complient logout
Some checks failed
/ build (push) Failing after 14s
/ test (push) Successful in 5s

This commit is contained in:
phil 2025-01-19 14:54:08 +01:00
parent 54345dcafd
commit 5b70d4bbea
2 changed files with 4 additions and 4 deletions

View file

@ -245,7 +245,7 @@ async def non_compliant_logout(
return templates.TemplateResponse(
name="non_compliant_logout.html",
request=request,
context={"provider": provider, "home_url": request.url_for("home")},
context={"oidc_provider": oidc_provider, "home_url": request.url_for("home")},
)

View file

@ -6,12 +6,12 @@
authorisation to log in again without asking for credentials.
</p>
<p>
This is because {{ provider.name }} does not provide "end_session_endpoint" in its metadata
(see: <a href="{{ provider._server_metadata_url }}">{{ provider._server_metadata_url }}</a>).
This is because {{ oidc_provider.name }} does not provide "end_session_endpoint" in its metadata
(see: <a href="{{ oidc_provider._server_metadata_url }}">{{ oidc_provider._server_metadata_url }}</a>).
</p>
<p>
You can just also go back to the <a href="{{ home_url }}">application home page</a>, but
it recommended to go to the <a href="{{ provider.server_metadata['issuer'] }}">provider's site</a>
it recommended to go to the <a href="{{ oidc_provider.server_metadata['issuer'] }}">OIDC provider's site</a>
and log out explicitely from there.
</p>
{% endblock %}