CDLUC3 / dmsp_frontend_prototype

Repo to test out new NextJS framework
MIT License
0 stars 0 forks source link

Update authentication-related code in the frontend once the backend auth updates have been checked in #63

Closed jupiter007 closed 2 months ago

jupiter007 commented 3 months ago

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

jupiter007 commented 3 months ago

Blocked by https://github.com/CDLUC3/dmsp_backend_prototype/issues/2

briri commented 3 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:

Some things to test for sign up: