Skip to content

Commit 873f72c

Browse files
committed
docs: rpinitiated instructions
1 parent 4ff30db commit 873f72c

1 file changed

Lines changed: 4 additions & 0 deletions

File tree

‎docs/oauth2/specs/rpinitiated.rst‎

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -152,6 +152,10 @@ Post-logout redirection only happens when:
152152
1. A ``post_logout_redirect_uri`` is provided
153153
2. The client is resolved (via ``id_token_hint`` or ``client_id``)
154154
3. The URI is registered in the client's ``post_logout_redirect_uris``
155+
4. A valid ``id_token_hint`` is provided, or
156+
:meth:`EndSessionEndpoint.is_post_logout_redirect_uri_legitimate` returns
157+
``True``. By default, it returns ``False``: without ``id_token_hint``,
158+
there is no redirection.
155159

156160
If all conditions are met, ``EndSessionRequest.redirect_uri`` contains the
157161
validated URI (with ``state`` appended if provided).

0 commit comments

Comments
 (0)