Hello, i need advice on implementation/archi of my application. Basically the scenario is, I have an API. Now this API is to be used by a dashboard (web app) and mobile apps.The API's auth process is through an oauth server. However, the dashboard's auth process is through login.Basically when a mobile app calls my api, it first calls the oauth server to get an access token and uses that to call the api itself. Meanwhile on the dashboard side, it first calls login and can only call api if user is logged in.How can I implement the auth for API endpoints used by both dashboard and mobile apps? Also note that the dashboard and API resides in one instance/app.I hope I have explained the scenarios well. Thanks for the help guys!
Submitted September 05, 2017 at 03:43PM by sashimixmaki
No comments:
Post a Comment