Quantcast
Channel: SCN : Unanswered Discussions - SAP for Mobile
Viewing all articles
Browse latest Browse all 5512

MBO Authentication error

$
0
0

Hi gurus,

 

Let me explain the environment: SAP -> GW -> SUP - REST service (simple right? )

 

Here is the requirement: before using the app, the user needs to log in.

 

Here is the problem: After reading allot on SCN about the authentication, I still couldn't manage to make it work.

 

Here are some of the links:

http://scn.sap.com/thread/3434663

http://scn.sap.com/community/mobile/blog/2010/09/30/basic-user-management-and-authentication-with-sybase-unwired-platform

http://scn.sap.com/thread/3208513

http://scn.sap.com/thread/3182334

http://scn.sap.com/community/developer-center/mobility-platform/blog/2012/08/10/how-to-sso-between-sup-and-sap-in-a-cua-environment

http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/90b94038-3877-2e10-aa81-e021d6ffd0cc?quicklink=index&…

http://scn.sap.com/community/icc/blog/2012/01/16/developing-mobile-apps-with-sybase-unwired-platform-21-and-sap-netweaver-gateway-20

http://scn.sap.com/thread/2003311

 

and many more...

 

Here is my development:

a) The REST Service connection details

connection.jpg

b) The MBO created on the REST Service Connection mentioned at point a)

 

mbo.jpg

c) The flow design:

 

flow.jpg

 

d) Log in Screen:

login screen.jpg

 

I didn't manage to make this work. I might have missed some things, but this is what I've got so far.

I know that the link works, I'v tested it from REST client and "Preview" in Mobile Development Environment.

 

After I fill the 2 edit-boxes, I go to the next screen and when I press the "Online request" button, I'm taken to the login screen again (I think due to the checkbox "Show credential screen on Authentication failure" of the button)

 

Any suggestions on what I'm doing wrong or incomplete?

 

Thanks,

Marius


Viewing all articles
Browse latest Browse all 5512

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>