on 03-08-2017 3:04 PM
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.
Hi JK,
Thanks for the reply.
Importing the security certificate on device, resolved this issue.
Regards,
Kirtiman
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
84 | |
25 | |
12 | |
9 | |
6 | |
6 | |
5 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.