POST /login| Param | Description |
|---|---|
| login_type | "github" |
| token | The token we receive from Github. No fancy salting/hashing required. HTTPS will take care of security |
Set-Cookie:
auth-token=<token-value>;
Domain=realdevsquad.com;
Same-Site=Strict;
Max-Age=86400;
HttpOnly;
Secure;200 OK{
"msg": "Success"
}
| Status Code | Message |
|---|---|
| 200 | Success |
| 400 | Please make sure request was correct |
| 403 | Not Allowed |