Enable Certificate-Based Authentication
- How to define your Mobile Services app to support certificate authentication
- How to configure the MDK client
- How to build a branded client
- Tutorial: Access SAP Mobile Services
- Download the latest version of Mobile Development Kit SDK either from community download page or SAP Software Center if you are a SAP Mobile Services customer
- Step 1
Navigate to SAP Mobile Services cockpit.
On the home screen, select Create new app.
In Basic Info step, provide the required information and click Next.
SAP MDK cert auth App
If you are configuring this app in a trial account, make sure to select License Type as lite.
In the XSUAA Settings step, continue with the default settings and click Next to navigate to further steps.
In Assign Features step, choose Mobile Development Kit Application from the dropdown, and click Finish.
If you see a Confirm Finish window, click OK.
- Step 2
When you configure an MDK app in Mobile Service cockpit, OAuth security is assigned to the app by default.
To enable certificate based authentication, you need to modify Redirect URL in Security configuration.
Click pencil icon to make changes to default configuration.
Replace the Redirect URL with
mdkclient://oauth2redirectparameter, and click OK to save the changes. This Redirect URL needs to be added in the
AllowedDomainsproperty while building your branded client (step 3.5).
mdkclientis an URL scheme for your branded MDK client, you will use this value in step 3.3.
oauth2redirectis just a random path. It could be any value.
- Step 4
Make sure you are choosing the right development platform tab above.
This name of this folder is based on the
<App Name>provided in the
MDKProject.json fileand this is the MDK client application generated project.
- Step 5
Make sure you are choosing the right device platform tab above.
What is the default value for AppVersion in the MDKProject.json?