on ‎2021 Apr 19 11:27 AM
Hi,
I am developing a custom java application to call SAP API in Cloud.
Is there any example of JAVA code to get authorization token?
/oauth/authorize?response_type=code
I am able to get Bearer token from Postman app but I want to get it directly from my Java app.
I searched SAP documentation, but I didn't find a complete example.
Thanks.
Request clarification before answering.
Hi Andre,
first check if you can use the out of box solution
Fetch Oauth Token in REST is now Out of The Box | SAP Blogs
else
is this what you are looking for? You can do the look up either from java map or from udf. Store the token in dynamic configuration and use it in the channel.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
is this what you are looking for?
may be you can take look at this code base.
| User | Count |
|---|---|
| 15 | |
| 9 | |
| 6 | |
| 5 | |
| 4 | |
| 4 | |
| 3 | |
| 2 | |
| 2 | |
| 2 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.