I'm building an app on top of Data Fusion API and I'd like Data Fusion to handle authentication.
Your app needs to accept a POST request with the following params:
username
roles
access_token
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
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
credit @Matt Sheehan