capabilities.work

OAuth Authenticate and Session

A 2-step recipe with Stytch. We can help you get access.

Recipe · 2 steps

OAuth Authenticate and Session

with Stytch · Identity & Access Management

Authenticate an OAuth token and verify the resulting session.

  1. Authenticate the OAuth token to complete the social login, minting a session and resolving the user.
  2. Read the active sessions for the authenticated user to confirm the OAuth login established a session.
What you'll need to have ready
  • token: The Stytch OAuth token returned on the provider redirect.
  • session_duration_minutes: Optional session lifetime in minutes for the authenticated session.
For your developer

Arazzo workflow stytch:oauth-authenticate-session, 2 operations: api_oauth_v1_Authenticate → api_session_v1_Get. Specs on APIs.io.