This repository was archived by the owner on Aug 26, 2022. It is now read-only.
Authentication documentation for useAuth hook on web side needs improvement #769
Labels
documentation
Improvements or additions to documentation
good first issue
Good for newcomers
hacktoberfest
good for Hacktoberfest
help wanted
Extra attention is needed
After a discussion on Discord about how to fetch the currently logged in user and their profile on the web side, I realized that while some of the
useAuth
hook is documented in the Authentication section and some in the RBAC cookbook, it is not easy to understand and there are no code examples to quickly realize how to the the hook.See https://redwoodjs.com/docs/authentication#api which is mostly the provider api interface, but within it are the items helpful on the web side:
Need to document hook use and how can get and use:
For example from RBAC cookbook, but needs s simpler example:
The text was updated successfully, but these errors were encountered: