I have a web api which I want to secure using ACS, but I want to use ACS for authorization only. The flow I want is:
- The user is redirected by the app to authenticate with Facebook and the app receives a Facebook token.
- The app sends a request to ACS with the Facebook token and receives a new token, which he can use to access the API.
- The user calls the API and passes the token received from ACS as authentication/authorization for the API.
Is this flow possible? How do I set this up on the ACS side and the API side? I already have the Facebook authentication working in the app. I would like to leverage the token I am already getting in order to call the API.