SSO From 3rd Party Sites
Authentication
Participating partners will be obligated to provide external URL(s) for the service utilizing SSO. These will be granted as part of the certification process and added to the application for allowing access.
How It Works
The SSO functionality that is built into AlloraCRMâ„¢ is designed to allow 3rd party sites to integrate guest login capabilities for use within the hoteliers website or mobile App and for a seamless transition between sites such as Booking Engine, Content Website and Guest Portal. Single Sign On (SSO) is compliant with OpenID Connect, using a standard Authorization Code Flow with PKCE and the associated tool is built using .net MVC as sample client application. However the client can be build using any OAuth Client SDK for your technology stack using the Authorization Code Flow with PKCE.
General Flow
The user clicks Login within the application.
Your OAuth Client SDK creates a cryptographically-randomÂ
code_verifier
 and from this generates aÂcode_challenge
.Your OAuth Client SDK redirects the user to the AlloraCRMâ„¢ Identity Server (
/authorize
 endpoint) along with theÂcode_challenge
.The AlloraCRMâ„¢ Identity Server redirects the user to the login and authorization prompt.
The user authenticates using one of the configured login options and may see a consent page listing the permissions Your OAuth Client SDK will give to the application.
The AlloraCRMâ„¢ Identity Server stores theÂ
code_challenge
 and redirects the user back to the application with an authorizationÂcode
, which is good for one use.Your OAuth Client SDK sends thisÂ
code
 and theÂcode_verifier
 (created in step 2) to the AlloraCRMâ„¢ Identity ServerÂ(/token
 endpoint).The AlloraCRMâ„¢ Identity Server verifies theÂ
code_challenge
 andÂcode_verifier
.The AlloraCRMâ„¢ Identity Server responds with an ID Token and Access Token.
The ID Token contains a custom claim for AlloraCRMâ„¢
playerID
Your application can use the
playerID
and the Access Token to call AlloraCRMâ„¢ API(s) to access information about the user.The API responds with requested data.
Sample MVC Application
Initial view before Guest logs in:
Â
Â
View after Guest logs in:
Â
Â
Profile information page:
The sample code for the application described above can be found here.
Â
Â
Â