SAP Fiori Client supports OTP-based authentication, using SAP SSO identity provider-initiated authentication and the SAP Authenticator app.
SAP Authenticator is a mobile app that generates passcodes for systems that require OTP authentication. Passcodes are time-based and valid for one logon attempt, meaning they are more secure than common static passwords.
Component |
Requirement |
---|---|
SAP Fiori Client |
|
SAP Fiori front-end server |
|
SAP Single Sign-On Identity Provider |
|
SAP Authenticator |
|
OTP Authentication for SAP Fiori Client is not supported with SAP Mobile Platform Server or SAP HANA Cloud Platform mobile services.
To allow the SAP Fiori Client app to authenticate to the SAP SSO IdP using code generated by SAP Authenticator app, the SAP Fiori Client administrator must provide end users with the location of the IdP in the idplogonurl parameter. The location of the IdP should include the name of the service provider mapped to the SAP Fiori launchpad location in the IdP as the saml2sp query parameter.
Example:This value can be set in one of the following ways:
Add the query parameter to the Fiori launchpad URL provided to end users.
The value must be double URL-encoded if this approach is used. For example:
https://myfes.abc.com/sap/bc/ui5_ui5/ui2/ushell/shells/abap/FioriLaunchpad.html?sap-client=001&saml2idp=terra-inc&idplogonurl=https%253A%252F%252Fmyidp.abc.com%252Fsaml2%252Fidp%252Fsso%252Fterra-inc%253Fsaml2sp%253Dgw_fiori_sp
If you build a custom SAP Fiori client, you can define the idplogonurl parameter in appConfig.js.
The callback URL scheme is exposed by SAP Fiori Client so that SAP Authenticator can use it to communicate with SAP Fiori Client. Ensure that SAP Fiori Client, SAP Authenticator, SAP Fiori front-end server, and single sign-on IDP all use the same callback scheme.
The examples given in this document assume that you are using the app store version of SAP Fiori Client, which has the callback URL scheme of com.sap.fiori.client.xcallbackurl.
If you are using a custom SAP Fiori client, by default, the exposed callback URL scheme has the format [packageName].xcallbackurl. For example, if the package name specified in config.json is myapp.mycompany, then the generated URL scheme would be myapp.mycompany.xcallbackurl.
In a custom SAP Fiori client project, the URL scheme can be changed from the project's app Info.plist file for an iOS client, or AndroidManifest.xml file for Android client.
The user opens SAP Fiori Client and is redirected to the IdP logon page. The user chooses Logon with SAP Authenticator, and is then redirected to the SAP Authenticator app. The user selects the user and app, and is then redirected to the SAP Fiori Client app. The user authenticates against the IdP logon page, and then is finally redirected to the SAP Fiori launchpad.
The user opens the SAP Authenticator app and selects the user and app. The user is redirected to the SAP Fiori Client app, authenticates against the IdP logon page, and then is redirected to the SAP Fiori launchpad.
In unusual situations, particularly when the user starts in the SAP Authenticator app and the SAP Fiori Client is not yet in memory, the SAP Fiori Client app may not handle the deep link with the passcode coming from SAP Authenticator app. Instead, the user will be directed to the IdP logon page, where the user may choose the Logon with SAP Authenticator link to successfully complete the authentication process.