> For the complete documentation index, see [llms.txt](https://docs.cremawork.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.cremawork.com/v-4/decelopment/auth-user.md).

# Auth User

In the Crema if you want to get the currently authenticated user.  You need to call the useAuthUser hook and you will get the auth user like below.

In the Crema, if you want to get the currently authenticated user.  You need to call the `useAuthUser` hook and you will get the auth user like below.

```javascript
import { useAuthUser } from '@crema/hooks/AuthHooks';

const {user, isAuthenticated, isLoading} = useAuthUser();

user             // authenticated user object 
isLoading        // authentication is in progress
isAuthenticated  // denote the user auth state 
```
