SSO Token Exchange
https://api.vercel.com/v1/integrations/sso/tokencode parameter. The provider then calls the SSO Token Exchange endpoint with the sent code and receives the OIDC token. They log the user in based on this token and redirects the user back to the Vercel account using deep-link parameters included the redirectLoginUrl. Providers should not persist the returned id_token in a database since the token will expire. See Authentication with SSO for more details.const response = await fetch('https://api.vercel.com/v1/integrations/sso/token', { method: 'POST', headers: { 'Authorization': 'Bearer YOUR_ACCESS_TOKEN', 'Content-Type': 'application/json', }, body: JSON.stringify("value"),});
const data = await response.json();console.log(data);"value"