Fix non complient logout
This commit is contained in:
parent
54345dcafd
commit
5b70d4bbea
2 changed files with 4 additions and 4 deletions
|
@ -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")},
|
||||
)
|
||||
|
||||
|
||||
|
|
|
@ -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 %}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue