Quantcast
Channel: SCN : All Content - SAP HANA Cloud Platform Developer Center
Viewing all articles
Browse latest Browse all 3285

HTML5 + java application + OAUTH = no user attributes

$
0
0

Greetings, 

  

I have created an HTML5 application which requests an OAUTH token from our IDP (*.accounts.ondemand.com). The token is generated and retrieved sucessfully. When the token is propagated to the API (java application) the user is also successfully authenticated and the request is executed. 

  

I would like to get some user attributes after user is authenticated on the backend, but it seems this is not possible ... (note that when running locally and using a local IDP, the attributes are there). I tried using the default IDP (accounts.sap.com) but the result is the same - I only get the user ID and no other attributes. User attributes propagation is set on our IDP. 

  

What could be the problem ? 


Viewing all articles
Browse latest Browse all 3285

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>