Overview
Signs up a user using OAuth authentication.- This function creates a new sub-organization for the user using the provided OIDC token, public key, and provider name.
- Handles the full OAuth sign-up flow, including sub-organization creation and session management.
- Optionally accepts additional sub-organization creation parameters and a custom session key.
- After successful sign-up, automatically logs in the user and returns a signed JWT session token.
Package: core
Defined in: core.ts:1706
Parameters
Response
A successful response returns the following fields:A promise that resolves to a BaseAuthResult, which includes:
sessionToken
: the signed JWT session token.