1
useUser in auth-helper need to update `is_anonymous` key doesn't exist.
Source: supabase/supabase#22559 · opened by @ngamsomset
Recently, signInAnonymously function have been added. There are a few issue at the moment.
1. there is no documentation of how to enable signInanonymously locally. I need to push all functions to test in staging site. (not the end of the world but better to be able to test locally).
2. I'm finding a way to check if user is anonymous by using useUser from auth-helper-react in my case. The user object that return from this function call got is_anonymous key. But I can't access is_anonymous in the code base. screen shot as follows.
Hope this is helpful.
ps. user?.user_metadata.is_anonymous doesn't work return undefined.
ps2. current work around. check for anonymous user by check user?.email === ""
.
2. I'm finding a way to check if user is anonymous by using useUser from auth-helper-react in my case. The user object that return from this function call got is_anonymous key. But I can't access is_anonymous in the code base. screen shot as follows.
Hope this is helpful.
ps. user?.user_metadata.is_anonymous doesn't work return undefined.
ps2. current work around. check for anonymous user by check user?.email === ""
`
2 votes · 0 comments
Add Custom Claims from Auth Hook to useSession() and useUser()
1 vote · 0 comments
supabase/ssr add useJWT, useSession, useUser hooks for react
2 votes · 0 comments
Make Apple provider Secret Key optional for native-only Sign in with Apple
6 votes · 0 comments
No comments yet.