Skip to Content

Archived discussions are read-only. Learn more about SAP Q&A

SMP OData Hybrid App Login/Registration

I have an OpenUI5 hybrid application that has a login screen that will take username/password and do a registration against our SMP 2.3.4 platform. I get my x-sup-appcid back and I am able to make subsequent calls to my OData service by passing my request with the x-sup-appcid, basic auth header, body etc. What I'm noticing is that the basic auth header seems to be required to be sent over for subsequent requests. I was hoping I could just use the x-sup-appcid coupled with the x-sup-sessid to make calls post-registration, but that doesn't seem to work.

My objective is to make use of some kind of persistence so that the user doesn't have to get prompted constantly to login. Since I'm working in a hybrid application and there is no way to securely persist the login credentials on the client (local storage out), I'd like to make use of some kind of session to authenticate users, and not have to send the auth header with each request.

Hope this makes sense. Any help is greatly appreciated. Mahalo!


Former Member
Not what you were looking for? View more on this topic or Ask a question