Installation
The installation is quite simple just like the standard Magento 2 extensions.
Magento 2 SSO or Magento 2 Single Sign-On module allows the integration of the Magento store with third-party applications. However, the user can sign in to the third-party applications through their Magento 2 sign-up credentials. Using Magento 2 SSO, the admin can easily integrate multiple clients for Single Sign-On using their Magento credentials. The admin can also integrate the UVdesk support portal with the user’s Magento store.
The installation is quite simple just like the standard Magento 2 extensions.
After uploading the module folder, you need to run the following commands in the Magento 2 root directory:
php bin/magento setup:upgrade
php bin/magento setup:di:compile
php bin/magento setup:static-content:deploy
php bin/magento indexer:reindex
php bin/magento cache:flush
magentobaseurl/sso/sso/index/redirect_uri/#value/client_id/#valueMethod: GET Response: redirecturl?token=#tokenval Description: get the token Note: that redirect_uri and client_id is mandatory field append to URL
magentobaseurl/sso/sso/accesscustomerdata/client_id/#value/authToken/#valueMethod: GET Response: JWT encoded string or Array(with error key) Description: get the user email information if client_id and auth token verified we send the customer email and name with the expiration of 2 minutes encoded by JWT using client secret key else error will be provided in $response[‘error] form Hence, The client has to decode the data using JWT via the client secret key generated at Magento end with a success or error field.
magentobaseurl/sso/sso/checkcredential/client_id/#value/client_secret_key/#valueMethod: GET Response: Array Description: check the detail entered at the client end is correct?