Federated sign-in step 2, on the tenant address: verify, match the user, sign in.
GET
/oauth/federated/complete
const url = 'https://api.contentsurface.io/oauth/federated/complete';const options = {method: 'GET'};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request GET \ --url https://api.contentsurface.io/oauth/federated/completeFinishes a Microsoft or Google sign-in at the tenant address: checks the provider’s answer, finds the invited or active user by their linked account or email address in an allowed directory, links the account on the first sign-in, and returns to the application as the code sign-in does. Not for applications.
Responses
Section titled “Responses”OK