Skip to content

angee.iam_integrate_oidc.models

OIDC login fields contributed onto integrate.OAuthClient.

OAuthClientOidc

python
class OAuthClientOidc(AngeeModel)

OpenID Connect login extension for integrate.OAuthClient.

The composer folds these fields into the single OAuth client table when the OIDC login addon is installed. Presence is no longer a separate 1:1 row: login_enabled is the discriminator for public login/link flows.

Meta

python
class Meta()

Abstract extension base composed into integrate.OAuthClient.

allowed_email_domain_values

python
@property
def allowed_email_domain_values() -> list[str]

Return the login domain allow-list as strings.

allows_email_domain

python
def allows_email_domain(email: str | None) -> bool

Return whether email is allowed by this provider's login domain policy.

DISCOVERY_FIELDS

Discovery-document keys projected onto OIDC login fields.

fill_extension_fields_from_discovery

python
def fill_extension_fields_from_discovery(discovery: Mapping[str, Any]) -> bool

Fill blank OIDC fields from a discovery document; return whether changed.

Released under the AGPL-3.0 License.