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 a comment
10|10000 characters needed characters exceeded

Related questions

0 Answers

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.