Skip to main content

Opening Links

ODIN Apps will open link in new browser window or iframe. On receiving request, third party website needs to authenticate provided session details by calling ODIN page and on success response, it should allow user to access the website.

ODIN APPS will open link with query string data as per link configuration in WebAdmin. Link & Product parameters will be dynamically added.

πŸ“ Examples​

a) Base64 encoded data passed in Query String
http://www.google.com?UserId=REFSVw==&SessionId=MHgwMUI0NzA5MkVBM0JDQUM0RkfGMTY0MENGQUMzNzY=&Link=1&Calling_App=RIO=&Target_App=Q0xJRU5UU1VNTUFSWQ==&Product=ODIN%20AERO

b) Base64 encoded data passed in Inline Parameters
URL Format: http://www.google.com/{userId}/{sessionId}/{product}
http://www.google.com/REFSVw==/MHgwMUI0NzA5MkVBM0JDQUM0RkfGMTY0MENGQUMzNzY/ODIN%20AERO?link=1

c) Implementation - AES encryption for SSO-Third party Links - WebAdmin Configuration

  • In Configuration, View/Edit Third party links menu, New Encode mode introduce as β€œAES” and β€œEncryption key” column introduced so Broker can configure Encryption key to be used for each SSO link.
  • Encryption key set will be stored in database in encrypted format.

πŸ“ Example Table (Web Admin View/Edit):​

SSO ColumnSSO LinkUser IDSession IDParameter 1Parameter 2EncodeMenu TypeURL Parameters InURL Container TypeEncryption Key
SSO 1https://www.nseirUserIdSessionIdCalling_App=FTtarget_App=CLIENTSUMMARYNONESub MenuQueryStringIFrame●●●
SSO 2https://www.nseirUserIdSessionIdCalling_App=FTtarget_App=CLIENTSUMMARYAESSub MenuQueryStringIFrame●●●
  • BackOffice/Third Party Sample URL (for reference):
    Member's Back Office URL -
    https://boffice.xyz.com/DealerDashboard/MoReport/Holding?UserId=hT1hBBZ%2BLCgqKjAjJvOL4g%3D%3D&SessionId=AaHaGINMYsqJ%2BS6C4mhHWr2F4KNicYhCNwr%2FocdcThYex%2Biw5SfoffEFrNDrogvsK&Link=2&Calling_App=3WNhIf%2F2VAmx5RuHGKYypA%3D%3D&Target_App=lloUcYxcIeAww8ICBKMImw%3D%3D&Product=ODIN%20AERO

πŸ—‚οΈ Note : Parameters values are AES encrypted and then URL encoded (Uri.EscapeDataString).