albert118 / Studio-Management-System

Studio Management System (SMS)
MIT License
2 stars 0 forks source link

[FEATURE] Implement Authentication Services #59

Open albert118 opened 1 year ago

albert118 commented 1 year ago

This is a two-parter. Both need to be completed to minimally support auth.

Custom Login Hook

To keep the login process consistent, we should create a useLogin hook. This hook should,

Custom Sign-Up Hook

Like the above hook, but we'll also need to include our app's workflow here.

we can listen for the event,

image

see more on their docs

Custom Sign Out Hook

etc. similar stuff - I haven't thought this one through as much but should be obvious

albert118 commented 1 year ago

We'll most likely repeat similar patterns for the remaining workflows,