ayon-frontend icon indicating copy to clipboard operation
ayon-frontend copied to clipboard

Clean up authentication

Open Innders opened this issue 9 months ago • 1 comments

  • [ ] Use RTK mutation instead of axios.
  • [ ] Set axios and RTK headers inside useLogin mutation.
  • [ ] Clean up naming convention for user slice.
  • [ ] Create a helper hook for checking for user auth.

https://redux-toolkit.js.org/rtk-query/usage/examples#authentication

Innders avatar May 12 '24 16:05 Innders