Closed jupiter007 closed 2 months ago
finished up the changes to the backend. We might need to make some adjustments though as we get the frontend hooked up to use the new auth.
The /signup
endpoint is now creating a DB record and should return a JWT when successful.
The /signin
endpoint should return the JWT if successful
Aside from the http status code, both of the above will return a JSON object that contains:
success
booleantoken
if it was successful or a message
containing an error messageSome things to test for sign up:
givenName
and surName
Some things to test for sign in:
There will be lots of auth code changes in the backend once this code is merged: https://github.com/CDLUC3/dmsp_backend_prototype/issues/2
So the frontend will need to make some updates to its auth code to make it work with the changes