Skip to content
New issue

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

Authentication #25

Closed
17 of 21 tasks
takuyakikuchi opened this issue Feb 6, 2023 · 0 comments · Fixed by #31
Closed
17 of 21 tasks

Authentication #25

takuyakikuchi opened this issue Feb 6, 2023 · 0 comments · Fixed by #31

Comments

@takuyakikuchi
Copy link
Owner

takuyakikuchi commented Feb 6, 2023

Deliverables

A user can log in to the application when a valid credential is given.
A user can't log in to the application when an invalid credential is given.

Todos

  • Install libraries
    • MSW
    • @tanstack/react-query
    • react-query-auth
    • axios
    • mswjs/data
    • nanoid
    • vitest
    • Chance
    • testing-libarary-react
  • Mock API
    • Define mocks
    • Integrate mocks with Service Worker
  • Authentication
    • Register
    • Login
    • onSuccess
    • Check authentication on page load
    • Sign out
    • Loader component
  • Test

References

Other notes

Issue with JWT package

jsonwebtoken doesn't work with ES6 modules. So I changed it to jsonwebtoken-esm.
auth0/node-jsonwebtoken#655

Test

RegiterForm and LoginForm test will be done later.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
No open projects
Development

Successfully merging a pull request may close this issue.

1 participant