Skip to Content

Fetching User credentials dynamically for External Rest services

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.

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 user session or from cookies so that i consume our back-end Restful service using the dynamic approach.

Please help me out

Regards

Phani Poorna

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

2 Answers

  • Posted on Aug 22, 2016 at 11:53 AM

    Hi Phani

    Have you uploaded the custom app in launchpad?

    Thank you

    Add a comment
    10|10000 characters needed characters exceeded

    • Hi Mathew,

      Actually i am planning to upload, it takes sometime. Meanwhile i am analysing for dynamic authentication.

      Currently the service is running fine from Localhost and also binded to views and controls successfully . Is there any wrong in this solution design?

      Please help me out

      Regards

      Phani Poorna

  • Posted on Aug 23, 2016 at 01:49 AM

    if sso there, why you have to worry this?

    Add a comment
    10|10000 characters needed characters exceeded

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.