on 2023 Sep 06 9:11 PM
Hi Experts,
We are creating an SAP MDK app that will be published on iOS and Android app stores.
We have our oData V4 service that is configured in BTP and mobile services and our app communicates to that.
There is a custom login/signup process that is embedded in the app that uses our oData V4 service.
We see that in in MDK app in mobile services -> Security section, it is using OAuth based security
Requirement: We do not want the app to ask for the BTP credentials at the start rather it should land to our page straight away. I see the support for "API Key only" in Security but not sure how to use that.
Can any one help on this?
Request clarification before answering.
Hi! Hope you're doing well! 😀
We’re facing a challenge similar to what you described. Our goal is to bypass the BTP login prompt and land directly on our app or on our custom login page. We saw the “API Key only” option in the security settings of mobile services, but we’re unsure how to implement it.
Did you find a way to allow users to access the app without BTP credentials, but still authenticate for specific functionalities later? Additionally, we’re unclear about how to deploy the app to the app stores and whether users will need to use the “Mobile Services” app, or if they can download it directly from the store like any regular app.
I’d really appreciate any guidance or information you can share based on your experience.
Thanks so much in advance!
Best regards, Sol
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
bill.froelich jitendrakumar.kansal can we follow the following route with certificate based authentication and by pass the user login page?
https://developers.sap.com/tutorials/cp-mobile-dev-kit-cert-auth.html
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Allowing certs doesn't bypass the login page, but rather the IdP login page detects and gets the certificate and if valid does not prompt the user for entering credentials. So in effect yes the login is bypassed but it still requires there to be an IdP configured to look for the certificates.
Thank you for the feedback Bill.
I have implemented the above tutorial but it still asks for the login credentials on both iOS and Android. The missing piece is the certificate part. How can we configure our IdP to look for the certificates? It was not mentioned in the tutorial. Any help or pointers on that part is highly appreciated.
MDK only supports OAuth security. All other security types are not supported by MDK at this time. Users will need to authenticate through Mobile Services.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Bill,
The apps will be deployed on App stores and will be a public apps. So all the users cannot authenticate through BTP, I suppose?
What is the workaround for such Mobile apps? Should we build them through different technology like SAP Build Apps or SAP Fiori for iOS and Android?
What are our options here?
When I tried with API Key only, It shows me this error at app start. Not sure if I can pass Api Key some where that i generated in Security -> Allow Anonymous access.
User | Count |
---|---|
34 | |
21 | |
8 | |
5 | |
4 | |
4 | |
4 | |
4 | |
4 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.