Skip to Content

OAuth Access Permission Request Screen (Access to OData Services)

I have a scenario wherein a custom .NET Web Application (MVC) needs to call an SAP OData Service behind the scenes. We have decided to use OAuth 2 Authentication for that service call and the .NET Application is using the Authorization Code Flow internally to get the token. We have followed this Wiki article to get the token.

The problem we are facing during the Token Retrieval, the user is getting an access request prompt each time as below

The problem is that this prompt is being generated each and every time the the token is being retrieved. I was hoping that this prompt would come in only on the first time the user token is being retrieved and his approval/rejection would be "remembered" on the subsequent token retrievals. That is what happens with Facebook, for example.

So the question is, is there anyway we can suppress this prompt? Or is there anyway we can have the user grant approval permanently, maybe through SAP Transactions?

Looking forward to the response.

c1.png (41.2 kB)
Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

0 Answers