with_oidc#
- ApiClientFactory.with_oidc(idp_session_configuration=None)#
Set up client authentication for use with OpenID Connect.
- Parameters:
- idp_session_configuration
SessionConfiguration
,optional
Additional configuration settings for the requests session when connected to the OpenID identity provider.
- idp_session_configuration
- Returns:
OIDCSessionBuilder
Builder object to authenticate via OIDC.
Notes
OIDC Authentication requires the
[oidc]
extra to be installed.