0.0.31 • Published 1 year ago

afex-sso v0.0.31

Weekly downloads
-
License
ISC
Repository
-
Last release
1 year ago

AFEX SSO

simple integration

instantiate the SSO class

  validate = SSO(sp_api_key, sp_hash_key, session_key)
  

Keys

  • sp_api_key: service provider api key
  • sp_hash_key : hashed key with api key ,secret key and an idempotency key (random values or timestamps)
  • session_key : sent from the service provider client after successful authentication on the sso

SETTINGS

  • 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"

}
0.0.31

1 year ago

0.0.3

1 year ago

0.0.2

1 year ago

0.0.1

1 year ago