Skip to Content
1

{"status":"-1","message":"AUTHEN_FAILED"}

Jun 21, 2017 at 07:54 AM

397

avatar image

Hello Experts,

When we are taking backup of any database and restore it back with another name then we are able to login in to SAP B1 database but on Fiori Cockpit having error message “You are not authorized” which comes in center of widget screen. But if we restore database with same name as backup database then it is working perfectly.

10 |10000 characters needed characters left characters exceeded
* Please Login or Register to Answer, Follow or Comment.

1 Answer

Akos Grabecz
Jun 23, 2017 at 12:47 PM
0

Hi Ashwin,

You can check this blog: https://blogs.sap.com/2017/02/22/appendix-f-using-oauth-with-kapsel/

Let me know if it's not what you meant.

Best regards,

Ákos

Show 4 Share
10 |10000 characters needed characters left characters exceeded

Hi Akos,

I have already gone through this link and it is good blog but it is describing how to do oAuth with HCP and I am looking for doing oAuth with on-premise SMP where my ERP backend is Microsoft Dynamics.

Is there any other authentication method you are aware of to consume Microsoft Dynamics ODATA services in SMP.

Thanks & Regards,

Ashwin

0

Hi Ashwin,

Oh, okay, thanks for clarifying. It's not documented because OAuth is not supported with on-premise SMP.

To choose between supported authentication providers you can check this Help Article: https://uacp2.hana.ondemand.com/doc/329ac769552a411b97bc7adb991b6197/3.0.12/en-US/7c2f30c570061014997fa2688bf4210d.html

So the idea behind this is that you can develop an application which is using an authentication "technique" listed in the SMP server.

So if you want something like OAuth then you could use SAML.

Best regards,

Ákos

0

Ashwin,

It looks like that the developers made it possible in some recent SPs to use Oauth with on-premise SMP.

https://help.sap.com/viewer/313e7789125149b3b5bb6f1c7e1ea322/3.0.13/en-US/44259215a10a49758645aab0ba1ff2a9.html

0

Hi Akos,

I have checked this document but i am little bit confused here. Is this new functionality of smp provides oauth for application which we are configuring in smp or we can integrate existing oauth mechanism of web service in smp.

For example we are using microsoft dynamics (Web API Approach https://msdn.microsoft.com/en-us/library/gg327838.aspx) and their service which supports oauth mechanism for authentication. So now if i have to configure that service in SMP how i will do that. Because for configuring oauth service we have to provide client id, token id, redirect url etc.

Can it be done using current features of on premise smp.

0