This document describes the Single Sign-On (SSO) login process for Jusoor Labs using the ICNO Partner integration. It includes details on the routes and callback endpoints used for authentication.
Route: /auth/partner
Method: GET
Description: Initiates the SSO login process by redirecting users to the ICNO Partner authentication page.
Route: /auth/partner/call-back/perform
Method: GET
Description: Handles the initial callback from ICNO Partner. This endpoint processes the authentication response from the partner and performs the necessary actions for login.
Provide Jusoor Labs with a URL to which users will be redirected to log in.
Implement logic in the callback to process the response from Jusoor Labs. This includes sending user information to initiate the session. Handle any final verification or procedures required to complete the login process.
Ensure that any credentials or tokens required for partner authentication are securely stored and managed within your application.
Thoroughly test the SSO login process to ensure that users are correctly redirected, authenticated, and logged in via the partner system.