Technology Blogs by SAP
Learn how to extend and personalize SAP applications. Follow the SAP technology blog for insights into SAP BTP, ABAP, SAP Analytics Cloud, SAP HANA, and more.
cancel
Showing results for 
Search instead for 
Did you mean: 
sandeeptds
Product and Topic Expert
Product and Topic Expert
0 Kudos

Background

The SAP BTP SDK for Android includes a Wizard that streamlines the process of connecting to SAP Mobile Services Instances on SAP BTP and facilitates the creation of the initial application version based on the provided OData. The wizard offers two log-in options: Basic and SAML.

 

Image 1.png

 

While Basic authentication requires developers to enter their username and password stored in securely on device, those seeking a more secure mechanism can choose SAML authentication.

This blog aims to guide developers through the setup process for using the SAML authentication mechanism.

 

How To

  1. Start Android Studio and Create a New BTP Android App:
    • Follow this tutorial to download and set up the SAP BTP SDK for Android on your machine.

 

  1. Change Authentication Type from Basic to SAML:
    • You may encounter a warning suggesting “Suggest to configure JCEF when login with SAML, please refer to our online document.”

Image 2.png

 

  1. Access Documentation:

 

  1. Configure JCEF (Java Chromium Embedded Framework)
    If using Android Studio Flamingo:
  • From the main menu, select Help → Find Action → Choose Boot Java Runtime for the IDE.

Image 3.png

 

  • Select the latest/suitable environment and click OK.

Image 4.png

 

  • Restart Android Studio.

Image 5.png

 

  • Create a New BTP Android App with SAML Authentication.

 

  • Once restarted, create a new BTP Android App.

 

  • Change the Authentication Type to SAML and click Next.
    Note: You are not prompted to enter the password anymore.

 

  • Use the suitable option to log in to Mobile Services in the pop-up window and proceed to provide the required details.Image 6.png

 

Conclusion

This blog is aimed to distill the product documentation, providing developers with a streamlined guide to configure SAML authentication on their SAP BTP SDK Wizard for Android.

2 Comments