Exchange an auth code for a session
Log in an existing user via a third-party provider.
- Used when
flowType
is set topkce
in client options.
Parameters
- authCodeREQUIREDstring
supabase.auth.exchangeCodeForSession('34e770dd-9ff9-416c-87fa-43b31d7ef225')