Discover Refinitiv
MyRefinitiv Refinitiv Perspectives Careers
Created with Sketch.
All APIs Questions & Answers  Register |  Login
Ask a question
  • Questions
  • Tags
  • Badges
  • Unanswered
Search:
  • Home /
  • Data Fusion /
avatar image
REFINITIV
Question by Tomasz Adamusiak · Sep 28, 2016 at 10:58 AM · data-fusionlog-in

What is the support for external apps to login with Data Fusion?

I'm building an app on top of Data Fusion API and I'd like Data Fusion to handle authentication.

People who like this

0 Show 0
Comment
10 |1500 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

1 Reply

  • Sort: 
avatar image
REFINITIV
Best Answer
Answer by Tomasz Adamusiak · Sep 28, 2016 at 11:02 AM

Your app needs to accept a POST request with the following params:

  • username - username of logged in user
  • roles - users role(s)
  • access_token - token for API requests

Login Example

Example callback URL: http://myapp.com/loginCallback

Directing the user to the following URL will POST to the callback URL after login. The callback param must be encoded.

  • /datafusion/login/auth?callback=http%3A%2F%2Fmyapp.com%2FloginCallback

Logout Example

A callback url is also supported for logout. The user will be directed to the callback URL after logout. The callback param must be encoded.

Example callback URL: http://myapp.com/logoutCallback

  • /datafusion/j_spring_security_logout?callback=http%3A%2F%2Fmyapp.com%2FlogoutCallback

Example

  1. User navigates to http://example.com/explorer
  2. DE sees user is not authenticated. Redirects to http://example.com/datafusion/login/auth?callback=http%3A%2F%2Fexample.com%2Fexplorer%2Flogin%2FauthCallback
  3. DF presents the login form
  4. User logs in
  5. DF posts the login info to the callback URL provided in 2.
  6. DE logs in the user, redirects to http://example.com/explorer

credit @Matt Sheehan

Comment

People who like this

0 Show 0 · Share
10 |1500 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

Watch this question

Add to watch list
Add to your watch list to receive emailed updates for this question. Too many emails? Change your settings >
6 People are following this question.

Related Questions

What is the most effective method for retrieving data attributes of the relationships

Deleting Data From DF

which is better to read excel files ? pandas or xlrd

Can you input more than 1 entityTypeId in the same /analyze/search API request?

Delete launchpad instance

  • Copyright
  • Cookie Policy
  • Privacy Statement
  • Terms of Use
  • Anonymous
  • Sign in
  • Create
  • Ask a question
  • Spaces
  • Alpha
  • App Studio
  • Block Chain
  • Bot Platform
  • Connected Risk APIs
  • DSS
  • Data Fusion
  • Data Model Discovery
  • Datastream
  • Eikon COM
  • Eikon Data APIs
  • Electronic Trading
    • Generic FIX
    • Local Bank Node API
    • Trading API
  • Elektron
    • EMA
    • ETA
    • WebSocket API
  • Intelligent Tagging
  • Legal One
  • Messenger Bot
  • Messenger Side by Side
  • ONESOURCE
    • Indirect Tax
  • Open Calais
  • Open PermID
    • Entity Search
  • Org ID
  • PAM
    • PAM - Logging
  • ProView
  • ProView Internal
  • Product Insight
  • Project Tracking
  • RDMS
  • Refinitiv Data Platform
    • Refinitiv Data Platform Libraries
  • Rose's Space
  • Screening
    • Qual-ID API
    • Screening Deployed
    • Screening Online
    • World-Check One
    • World-Check One Zero Footprint
  • Side by Side Integration API
  • TR Knowledge Graph
  • TREP APIs
    • CAT
    • DACS Station
    • Open DACS
    • RFA
    • UPA
  • TREP Infrastructure
  • TRKD
  • TRTH
  • Thomson One Smart
  • Transactions
    • REDI API
  • Velocity Analytics
  • Wealth Management Web Services
  • Workspace SDK
    • Element Framework
    • Grid
  • World-Check Data File
  • 中文论坛
  • Explore
  • Tags
  • Questions
  • Badges