on 07-19-2016 12:39 PM
Hey,
I've created a Kapsel App out of my Fiori App.
When I register on SMP Server with the Logon Plugin everythin is fine and the App gets started.
But when I execute the App a second time, the SMP Server doesnt make the request with the right credentials. I always get the error message: Authentication failed for user null, in my SMP Server Logs.
Configuration:
- SMP 3.0 SP11
- HTTP/HTTPS Authentication
- Basic SSO Mechanism
Does anyone has experience to fix this problem?
Thank you very much for your help.
Best regards,
David
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
It is SP11 and the SMP server is running on my local machine.
I already looked into client log, there I get the following error (when running with your parameters):
startRegistration Utils.js:5
registration failed Utils.js:5
{"errorCode":"0","errorMessage":"","errorDomain":"MAFLogonCoreErrorDomain"} Utils.js:5
"LogonController.getRegistrationErrorText: {\"errorCode\":\"0\",\"errorMessage\":\"\",\"errorDomain\":\"MAFLogonCoreErrorDomain\"}"
Regards
David
Hi,
Can you quickly answer the below questions
Thanks,
Rakshit Doshi
Hi David,
Thanks for the screenshots. It helps.
I believe you have added a destination on the OdataServices Tab. Can you show me a screenshot of that as well.
What i believe is you added a destination and then added the service in the services tab from that destination by searching it.
Also the destination url that you are using is of SAP Management Cockpit exposed url which you can see when you click on Open Service Document hyperlink on the services tab or is it the backend url of SAP Gateway Hub.
Thanks,
Rakshit Doshi
Nopes its not necessary, Its required if your destination url is based on SAP Gateway Cockpit.
Can you try the below settings,
In the http/https authentication screen,
from the screenshots that you provided,
try giving the url as
http://sapserverip:sapserverport/sap/iwbep?sap-client=client no
Add the client no only if the same sap ip has multiple clients
Check this url first in the browser and see if it prompts you for username and password.
Clear out the client http values to send and send client http values as fields and in the
SSO Cookie Name add value MYSAPSSO2.
And in the Application endpoint settings,
Add the SSO Mechanish SSO2 and Basic and move the SSO2 above Basic.
Try with these settings and check if it works. Try a fresh run, delete the app from device and management cockpit and check if this works fine.
Thanks,
Rakshit Doshi
User | Count |
---|---|
81 | |
9 | |
9 | |
7 | |
7 | |
7 | |
6 | |
5 | |
5 | |
5 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.