We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
at endpoint /users/, server now expects a jwt of user credentials, here's the request body:
/users/
{ "credentials": "<jwt-encoded-string>" }
the secret you need is in .env (JWT_SECRET entry) in server repo, refer to PR #47 (though this is probably subjected to change for release.)
.env
JWT_SECRET
Here's an example of the claim:
{ "iat": 1516239022, "exp": 3526239022, "credentials": { "username": "foo", "school_id": "UVIC", "faculty": "computer_science", "year_of_study": "two", "password": "bar", "email": "[email protected]" } }
exp
iss
aud
This is the corresponding jwt, for testing purposes:
eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpYXQiOjE1MTYyMzkwMjIsImV4cCI6MzUyNjIzOTAyMiwiY3JlZGVudGlhbHMiOnsidXNlcm5hbWUiOiJmb28iLCJzY2hvb2xfaWQiOiJVVklDIiwiZmFjdWx0eSI6ImNvbXB1dGVyX3NjaWVuY2UiLCJ5ZWFyX29mX3N0dWR5IjoidHdvIiwicGFzc3dvcmQiOiJiYXIiLCJlbWFpbCI6ImZvb0BiYXIuY29tIn19.Aem7IGS4hpwi2rnXD8xnST4PK1rG6u8UN9vy0qQTYwk
https://jwt.io/ (leave the secret base64 encoded unchecked)
The text was updated successfully, but these errors were encountered:
no longer using jwt in server
Sorry, something went wrong.
No branches or pull requests
at endpoint
/users/
, server now expects a jwt of user credentials, here's the request body:the secret you need is in
.env
(JWT_SECRET
entry) in server repo, refer to PR #47 (though this is probably subjected to change for release.)Here's an example of the claim:
exp
props of your choice.iss
,aud
for starter.)This is the corresponding jwt, for testing purposes:
https://jwt.io/ (leave the secret base64 encoded unchecked)
The text was updated successfully, but these errors were encountered: