SSO - (Main Portal)


Overview

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.

Routes

1. Redirect to Partner

Route: /auth/partner

Method: GET

Description: Initiates the SSO login process by redirecting users to the ICNO Partner authentication page.

2. Partner Callback - Perform

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.

Integration Steps

  1. Configure Partner Redirect:

    Provide Jusoor Labs with a URL to which users will be redirected to log in.

  2. Handle Partner Callbacks:

    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.

  3. Update Jusoor Labs Credentials:

    Ensure that any credentials or tokens required for partner authentication are securely stored and managed within your application.

  4. Test the Integration:

    Thoroughly test the SSO login process to ensure that users are correctly redirected, authenticated, and logged in via the partner system.