YsarocK/nuxt-appwrite

Account and session management

tuvaergun opened this issue · 5 comments

Is your feature request related to a problem? Please describe.
I need to do auth and account management.

Describe the solution you'd like
It can be a module for auth and account management.

Describe alternatives you've considered
It can be function like useAccount using composoble api. can manage active user information and session.

Additional context

Working on it!

Added a basic Session composable to access authenticated user session (returns undefined if not).

@tuvaergun What do you have in mind for the next steps ? While Appwrite provides good login methods.

Hope it helps!

thanks for the awesome code, it would be nice to integrate with pinia to store the state.

Hi @holynuts,

I note it, it's currently on my ideas list.

Will work on it this week!

Any updates here?