You are on page 1of 1

To obtain an application access token similar to login service, separate endpoints

to be exposed to exchange social media token.


These endpoints to first validate the token and then issue access token similar to
login service.

Google Authentication Service


-----------------------------
Endpoint: /authenticatesso/google
Method: POST
Parameters:sso_token (The token obtained from Google Sign-In)

Sample response:
{
"Message": "Google Authentication successful",
"Token": "eyJhbGciOiJIUzUxMiIsInR5cCI6IkpXVCJ9...",
"SessionId": "05723c73-66ee-4d16-8f00-072199d8eb4d"
}

Office Authentication Service


------------------------------
Endpoint: /authenticatesso/office
Method: POST
Parameters:sso_token (The token obtained from Office 365 Sign-In)

Sample response:
{
"Message": "Google Authentication successful",
"Token": "eyJhbGciOiJIUzUxMiIsInR5cCI6IkpXVCJ9...",
"SessionId": "05723c73-66ee-4d16-8f00-072199d8eb4d"
}

Facebook Authentication Service


--------------------------------
Endpoint: /authenticatesso/facebook
Method: POST
Parameters:sso_token (The token obtained from Facebook Sign-In)

Sample response:
{
"Message": "Google Authentication successful",
"Token": "eyJhbGciOiJIUzUxMiIsInR5cCI6IkpXVCJ9...",
"SessionId": "05723c73-66ee-4d16-8f00-072199d8eb4d"
}

You might also like