/api/create-account and /api/sign-in do not require a JWT Token, they do require the idToken
parameter, which is only provided by Firebase.
To get a JWT Token, follow these steps:
- Log in or create an account
- Open the developer console. On Chrome, this can be done with
Ctrl-Shift-j - Navigate to the “Cookies” panel
- Find the
jwtTokencookie, click on it, and save its value- This is used for authentication - you shouldn’t share it with anyone!
@jacob-macleod and ask him to work on it
An API to get the JWT Token could easily be written by following the above steps using a framework such as Selenium (Python).