provider Oauth POST
/v1/oauth/authenticate @utdk/stytch
/v1/oauth/authenticate Authenticate
Authenticate a User given a `token`. This endpoint verifies that the user completed the OAuth flow by verifying that the token is valid and hasn't expired. To initiate a Stytch session for the user while authenticating their OAuth token, include `session_duration_minutes`; a session with the identity provider, e.g. Google or Facebook, will always be initiated upon successful authentication.
Try it
Authentication
Configure credentials for Stytch API
Code snippet
Updates live as you fill in the form above.
TypeScript
import stytch from '@utdk/stytch';
await stytch.apiOauthV1Authenticate()