Expand description
External OAuth/OIDC provider callback handler.
Handles the return redirect from an external provider after the user authenticates. Supports two provider kinds:
oidc— full OpenID Connect: discovery + id_token JWT verificationoauth2— generic OAuth 2.0: fixed endpoints + userinfo HTTP call
After claims are obtained (via either path), identity mapping, provisioning, and auth code issuance are identical regardless of provider kind.
Structs§
Functions§
- begin_
federate_ owner_ link - Start an explicit Federate owner link for the currently signed-in hosted account. The endpoint accepts no target account or owner DID from the browser; both are resolved from the authenticated session and trusted provider configuration.
- external_
authorize - Initiate external OAuth/OIDC login by redirecting to the provider.
- external_
callback - Handle callback from external OIDC provider.