Oauth requires callback endpoints. We'll need to implement these on the frontend to ensure HTTPS. On the backend these frontend endpoints will be configured in oauth.json config file. The frontend endpoints would then forward to corresponding backend callback endpoints.
Once we are logged in, we can create an Account landing page using the output from backend:
api/v1/account/permissions
We'll want a login page on the frontend.
The backend endpoints currently supported are:
api/v1/account/logout api/v1/account/login/twitter api/v1/account/login/facebook
Oauth requires callback endpoints. We'll need to implement these on the frontend to ensure HTTPS. On the backend these frontend endpoints will be configured in oauth.json config file. The frontend endpoints would then forward to corresponding backend callback endpoints.
Once we are logged in, we can create an Account landing page using the output from backend: api/v1/account/permissions