Single Sign-On (SSO) Enablement Process
The prerequisite for SSO is a community created already on pensil.in, let's take iitjee.pensil.in for a demonstration.
For SSO using your system, we will require to following things from you -
The request headers from our side will be as follows-
{
“Accept”: “application/json”,
“Content-Type”: “application/json”,
“Authorization”: “Bearer <token>”,
“client_id”: “secret”,
“client_key”: “secret”,
}
Details required in response payload are as follows-
Sample user validation api response:
{
“name”: “Dheeraj Rawat”,
"email”: “[[email protected]](<mailto:[email protected]>)”,
"referenceIdInSource": "key",
“picture”: “<https://google.com/u/dheeraj/profile.png”>
}
For error give any non 200 response.
This completes the flow of SSO on pensil.in