cised-ca / se-dir-frontend-react

GNU Affero General Public License v3.0
2 stars 1 forks source link

Login Page #51

Open chad-g-adams opened 7 years ago

chad-g-adams commented 7 years ago

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