George Abraham
George Abraham

Reputation: 1

How to use oAuth authentication in JSONModel.loadData()

I am using oAuth authentication for the first time and finding some challenges in implementing a working code.

I tried using ajax calls but failed.

The idea is - my java service is enabled with oAuth2.0 and I have my callback URL, my Auth URL, my token URL and also the client id and client secret, but how do I put it all together to get a workable code?

Any samples would help -

Either AJAX call (jQuery) to put in my UI5 application or even better with JSONModel.loadData().

Upvotes: 0

Views: 496

Answers (0)

Related Questions