flask_oidc.views module

flask_oidc.views.authorize_view() ForwardRef('Response') | str | bytes | list[Any] | Mapping[str, Any] | Iterator[str] | Iterator[bytes] | AsyncIterable[str] | AsyncIterable[bytes][source]
flask_oidc.views.legacy_oidc_callback() ForwardRef('Response') | str | bytes | list[Any] | Mapping[str, Any] | Iterator[str] | Iterator[bytes] | AsyncIterable[str] | AsyncIterable[bytes][source]
flask_oidc.views.login_view() ForwardRef('Response') | str | bytes | list[Any] | Mapping[str, Any] | Iterator[str] | Iterator[bytes] | AsyncIterable[str] | AsyncIterable[bytes][source]
flask_oidc.views.logout_view() ForwardRef('Response') | str | bytes | list[Any] | Mapping[str, Any] | Iterator[str] | Iterator[bytes] | AsyncIterable[str] | AsyncIterable[bytes][source]

Request the browser to please forget the cookie we set, to clear the current session.

Note that as described in [1], this will not log out in the case of a browser that doesn’t clear cookies when requested to, and the user could be automatically logged in when they hit any authenticated endpoint.

[1]: https://github.com/puiterwijk/flask-oidc/issues/5#issuecomment-86187023

Added in version 1.0.

flask_oidc.views.validate_return_url(next: str, url_root: str) str[source]