SSO AccessToken Service
SSO AccessToken Service

SSO accees token service uses for SSO (Single Sign On) Authentication.

Step by Step:

  • Required an email address  of already existing user on next4biz CRM. For example: [email protected]
  • Get your Secret Token. You can read your secret token in “next4biz CRM under Settings > Integration > API Account”
  • Encrypt user email address with Secret Token.

Encrypt Method Steps:

  • Rijndael IV: byte[] vector = { 5, 175, 240, 68, 75, 126, 45, 104, 228, 79, 31, 17, 43, 108,252, 65 };
  • key = SHA256 standard hash(Secret Token)
  • encrypted = Rijndael 256 bit encryption of data
  • b64_encrypted = encoded as base64 encypted data
Name Value
REST-API METHOD SSO Access Token
HTTP METHOD POST
RESPONSE TYPE JSON
URL https://[your-company].selphiu.com/auth/sso
REQUEST HEAD Accept: application/json; Content-Type: application/json
ENDPOINT DEFINITION
POST
SAMPLE REQUEST BODY
{
	"email": "[b64_encrypted]"
}
SAMPLE RESPONSE
{
	"code": "200",
	"status": "Success",
	"result": {
		"access_token": "[YOUR-ACCESS-TOKEN]"
	}
}