Skip to Content
0

User Handling in IOS with Platform sdk

Apr 24, 2017 at 01:04 PM

42

avatar image

Hello,

we are playing around with IOS FIORI PLATFORM SDK. Connection to a productive Cloud User (and the service is connected via Cloud Connector to an onPremise backend system).

So far we can build an application and generate an IOS XCODE App. Ok, only with usinge the oData XML from filesystem not on-line. but okay ;-)

Ping from the application to backend is succesfully, so it should work basically?

But here are my questions or very novice questions (as it does not work).

How is the user/login handling in detail assuming my CloudPlatform User is S000xxxx (sap s-User).

Which user do i have to use for login on the ios-app ? the onPremise Backend-User? or the Cloud-User?

If i have to use the Cloud-User (that differs from the onPremise User), who is the backend connection established. what kind of SSO do we have to use? with certificates?

All the tutorials only explain connecting to some demo ES4 accounts?

When i connect with the onPremise user in the ios App, i always see in the logs an error like that

"the request to the back end failed with status 403 for request null, reason: Forbidden."

maybe there are any users that have already established successfully a connection to an onpremise backend?

Or is there any tutorial that shows a connection to an onPremise backend system ?

best regards

oliver

iOS
10 |10000 characters needed characters left characters exceeded
* Please Login or Register to Answer, Follow or Comment.

1 Answer

avatar image
Former Member May 08, 2017 at 03:32 PM
0

Hello Oliver,

Please checkout these tutorials (in sequence), they should point you in the right direction as they did with me.
They will guide you in creating an application without the support of the generation tool and it will be very much easier to understand the complete flow.

1. https://www.sap.com/developer/tutorials/fiori-ios-hcpms-backend-connection.html

2. https://www.sap.com/developer/tutorials/fiori-ios-hcpms-device-registration.html

3. https://www.sap.com/developer/tutorials/fiori-ios-hcpms-secure-credentials-keychain.html

4. https://www.sap.com/developer/tutorials/fiori-ios-hcpms-verify-registration.html

5. https://www.sap.com/developer/tutorials/fiori-ios-hcpms-retrieve-odata-service.html

Cheers,

Roberto.

Show 1 Share
10 |10000 characters needed characters left characters exceeded

hello roberto,

thanks a lot we will try his out.

we are just wondering, how it is handled from

entering user logon data on the device (a user which connects to hcp) , and how the shift to the real onPremiseBackend user has to be configured.

regards,

oliver

0