Quantcast
Channel: SCN : All Content - All Communities
Viewing all articles
Browse latest Browse all 3523

Fetching User credentials dynamically for External Rest services

$
0
0

Hi All,

 

Currently we have requirement to develop a custom Fiori App using external Restful Web services. I am able to get the data from the back end using basic authentication. Kindly find the below image for details. I have hard coded one of our back end user credentials in the image below.                                                   RestfulServiceCOnsuming.png

 

Our back end is having only this basic authentication option to fetch the data. We have only this possibility to fetch back end data. Currently it is working fine with single user credentials. Now my requirement is that i will deploy this app in the front end server. We will be using Single sign on option for our implementation in Front end server. So front end credentials will be same as back end credentials.

 

After the user logged in from Fiori Client in the mobile. Is there any option to fetch the user credentials in the Java script from the current usersession or from cookies so that i consume our back-end Restful service using the dynamic approach.

 

Please help me out

 

Regards

Phani Poorna


Viewing all articles
Browse latest Browse all 3523

Trending Articles



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