cancel
Showing results for 
Search instead for 
Did you mean: 

SMP3 - Not able to login using Kapsel Logon plugin on android device

Former Member
0 Kudos

Hi All,

I am creating a hybrid application which uses kapsel logon plugin to register the user on SMP. I am using basic HTTP authentication and authenticating user against gateway.

SMP3.0 SP10 and SMP3.0 SDK SP11 are getting used for building the application.After deploying the application on android device, logon screen is coming up and after providing required values and clicking on Register button, a registration error pops-up which states "Please check your connection data".

As my SMP is secured, I am using HTTPs and secured option as true along with port 8081 (secured).I tried to register a user using REST API with same data and it works fine.

I also checked the logs on SMP server and there is no error or debug message for this issue (Registration logs are enabled). Please find below log from chrome web inspect just after the registration is clicked.

{"https":true,"resourcePath":"","registrationServiceVersion":"VERSION_DEFAULT","communicatorId":"REST","farmId":"","serverPort":"8081","activationCode":"","domain":"","securityConfig":"","mobileUser":"","password":">>> FILTERED <<<","serverHost":"<serverhost>","user":"<user>"}

Could someone help me in this regard?

Thanks.

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hi JK,

Thanks for the reply.

Importing the security certificate on device, resolved this issue.

Regards,

Kirtiman

Answers (1)

Answers (1)

Jitendra_Kansal
Product and Topic Expert
Product and Topic Expert
0 Kudos

Hello Kirtiman Tripathi ,

Please check

1. If you are able to run https://smphost:8081 url in the browser in your device

2. Do you see same context variables (for initializing connection) in your login code as mentioned in this guide? https://blogs.sap.com/2016/10/19/getting-started-kapsel-part-2-logon-sp13/

Can you share it?

Regards,

JK