This is a private Node.js Express app that hosts the Partner Server https://partner.[domain]. It allows Partners to access their referral dashboard to track how their referrals are doing. It is Openly Operated, so user/customer privacy is ensured since all data is provably retrieved and displayed in aggregate, anonymous formats. Partner Server is not viewable to the public and has strict security groups. Partner user accounts are created by the Admin Server.
- Run the Partner CloudFormation and all its prerequisites
The POST /signin API returns a session cookie. Use the cookie on requests that require authentication. Usually, your HTTP request framework will automatically save this cookie. If the cookie expires or server returns 401, request a new cookie.
Request
GET /signin Request
POST /signin | Name | Type | Description |
|---|---|---|
email | string | Required User email. |
password | string | Required User password. |
Response
Set-Cookie: <Cookie with Expiration Time> Request
GET /logout Response
Redirects to /signin Request
Authentication Required
GET /partner Request
Authentication Required
GET /change-password Request
Authentication Required
POST /change-password | Name | Type | Description |
|---|---|---|
currentPassword | string | Required User's current password. |
newPassword | string | Required User's new password. |
Response
Redirect to /partner Request
GET /error-test Request
GET /health Response
Status 200{message: "OK from Partner" } If you have any questions, concerns, or other feedback, please let us know any feedback in Github issues or by e-mail.
We also have a bug bounty program -- please email [email protected] for details.
This project is licensed under the GPL License - see the LICENSE.md file for details