authenticationhybrid-mobile-appsap-smp

How to authenticated in an SAP hybrid app against SMP and a backend system with different users?


Following situation:

Does anyone have a good tutorial / documentation link how to setup this correct?

I found a very good tutorial about the Kapsel plugins: - https://blogs.sap.com/2016/10/20/getting-started-kapsel-part-1-sp13/

With a trial account and a trial backend account (same user name) it seems somehow working. But in my situation it is more complex.

Problem in other words (Edit)

I am searching for a way to use user & password from OnPremise system to authenticate against HCPms over a Hybrid app.


Solution

  • May I ask why you require two different users at all? From a usability point of view, it is very awkward for a user to give two sets of credentials for an app. I'd typically recommend to either

    The rest depends on your back-end configuration. For example, if it requires Basic auth, configure your back-end connection accordingly and leave the user/password fields empty. When you supply those with your client requests, they will be forwarded to your back-end.

    Edit: I misread the question and thought you were using "SAP Cloud Platform Mobile Service", the cloud equivalent of the SAP Mobile Platform. The answer basically remains the same, only the terminology changes (italic):

    Either way, SCIM for Mobile Service is described in the documentation, and so is Basic authentication for Mobile Platform.