Any valid JSON string allowed in appconfig.js
can be used to configure the SAP Fiori Client in SAP Mobile Secure. The three required fields to enable registration with SAP Mobile Platform Server are:
appID
: Application identifier for SAP Mobile Platform registration.
fioriURL
: Runtime endpoint for the app.
fioriURLIsSMP
: Defines whether the runtime endpoint is SAP Mobile Platform or the Fiori front end server.
Example
Basic authentication with SMP registration:
{
"appID":"fiori",
"fioriURL":"https://torn00461340a.amer.global.corp.sap:8081/sap/bc/ui5_ui5/ui2/ushell/shells/abap/FioriLaunchpad.html?sap-client=100&sap-language=EN",
"fioriURLIsSMP":true
}
Example
SAML2 authentication with SMP registration:
{
"appID":"saml.kapsel",
"fioriURL":"https://torn00461340a.amer.global.corp.sap:8081/saml.kapsel",
"fioriURLIsSMP":true,
"auth":[
{
"type":"saml2.web.post",
"config":{
"saml2.web.post.authchallengeheader.name":"com.sap.cloud.security.login",
"saml2.web.post.finish.endpoint.uri":"/SAMLAuthLauncher",
"saml2.web.post.finish.endpoint.redirectparam":"finishEndpointParam"
}
}
]
}
Example
Afaria X.509 mutual authentication with SMP registration:
{
"appID":"fiori.afaria.smp",
"fioriURL":"https://torn00461340a.amer.global.corp.sap:8081/sap/bc/ui5_ui5/ui2/ushell/shells/abap/FioriLaunchpad.html?sap-client=100&sap-language=EN",
"fioriURLIsSMP":true,
"certificate":"afaria"
}