cancel
Showing results for 
Search instead for 
Did you mean: 

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

AshwinKatkar
Participant

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.

Accepted Solutions (0)

Answers (1)

Answers (1)

grabz
Employee
Employee
0 Kudos

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

AshwinKatkar
Participant
0 Kudos

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

grabz
Employee
Employee
0 Kudos

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/7c2f30c57006101499...

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

grabz
Employee
Employee
0 Kudos

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/44259215a10a49758645aab0ba...

AshwinKatkar
Participant
0 Kudos

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.