POST https://api.turnkey.com/public/v1/submit/init_oauth2_authenticate
Use normal signed API authentication. Submit under the parent organization that owns the credential. This returns an encryption target, not an OIDC token or session.
Request body
Result
A completed activity containsactivity.result.initOauth2AuthenticateResult.enclaveTargetMessage: the signed TLS Fetcher target message. SDKs may unwrap this result.
A target completes one exchange and expires after five minutes. Initialize a new target for each login attempt, near the code exchange, then verify and encrypt on the client using a supported helper. Keep the organization and credential consistent when submitting OAuth 2.0 authentication V2.
See social logins for the complete flow.