Difference between revisions of "HowTo:Integrate UBIK in an SSO Environment"
(→Important information) |
|||
Line 18: | Line 18: | ||
If there are further questions, support is available to help. | If there are further questions, support is available to help. | ||
− | + | ||
− | + | ||
− | + | ||
== Login == | == Login == | ||
Line 169: | Line 169: | ||
</div></div> | </div></div> | ||
− | + | ||
− | + | ||
− | + | ||
== Interfacing == | == Interfacing == | ||
Line 212: | Line 212: | ||
'ClientID' : '{clientid}', | 'ClientID' : '{clientid}', | ||
'ClientSecret' : null, | 'ClientSecret' : null, | ||
− | 'RedirectURL' : 'com.augmensys.ubik:// | + | 'RedirectURL' : 'com.augmensys.ubik://sso/', |
'Scope' : 'openid', | 'Scope' : 'openid', | ||
'UseAccessToken' : 'false'} | 'UseAccessToken' : 'false'} | ||
</syntaxhighlight> | </syntaxhighlight> | ||
+ | |||
+ | {{Attention|The "RedirectURL" is needed so that the SSO login process can be redirected back to the client after authentication. When using the Xamarin clients, the custom protocol ("com.augmensys.ubik://sso/") might trigger a trust warning from some SSO providers (e.g. Entra), asking users to additionally confirm the login. If you want to avoid such warnings, it's possible to configure the so called "universal link" ("https://ubikapp.augmensys.com/sso/") as the RedirectURL instead. {{Version/XamarinSince|4.9}} This is not the case for the UWP client because there's no such trust warning problem and universal link is not properly supported on Windows anyway.}} | ||
+ | |||
+ | {{Hint|When using the universal link as the RedirectURL, the Xamarin iOS client needs to open the Safari browser in order to successfully complete the login process. If you see the browser stuck on the {{UBIK}} SSO page and that it does not redirect to the client, please set Safari as the default browser. And the Xamarin iOS client opens the Safari browser externally, because we found out that the redirect process requires user interaction even when the user has already previously logged in. (This is in line with what many others also experienced, like described in [https://stackoverflow.com/questions/44706216/universal-link-does-not-work-in-safari this example].) This means there will be a browser instance open in the background after you log in/out using SSO on a Xamarin iOS client, which is unfortunately a technical limitation until Apple changes their universal link support.}} | ||
+ | |||
* Integrate client configuration in profile: | * Integrate client configuration in profile: | ||
<syntaxhighlight lang="xml"> | <syntaxhighlight lang="xml"> | ||
Line 229: | Line 234: | ||
{{Hint|Entra requires a client secret for web applications (to be configured both in Entra as well as in the client profile's OIDC settings described above). For native/mobile applications, the client secret must be null though!}} | {{Hint|Entra requires a client secret for web applications (to be configured both in Entra as well as in the client profile's OIDC settings described above). For native/mobile applications, the client secret must be null though!}} | ||
− | + | ||
− | + | ||
− | + | ||
== SAML == | == SAML == |
Latest revision as of 12:56, 17 January 2025
Single Sign-On (SSO) allows an end-user to interact with multiple services without logging in more than once.
This page shows how to integrate UBIK® into such an SSO environment.