-
Notifications
You must be signed in to change notification settings - Fork 1
Authentication
Mars Tan edited this page Apr 17, 2019
·
5 revisions
Add custom header in your request:
Authorization: Token {token}
-
/login
User clicks Google Login button -
/api/auth/google
Redirect to Google, user logins using Google -
/api/auth/google/redirect
Redirected from Google -
/?token=
Front-end receives token; ajax to back-end and verify -
/
Redirected to Dashboard