for integrating sso
npm install afex-ssoinstantiate the SSO class
validate = SSO(sp_api_key, sp_hash_key, session_key)
- set the sso url on .env file as SSO_URL
SSO_URL = ""
Sample Response
{
"responseCode": "100",
"data": {
"session_identifier": "SES_2c73ff51cfe5c5a68fc58934c9be3b",
"user": {
"email": "togunbiyi@afexnigeria.com"
}
},
"message": "Successfully Retrieved"
}