Powered by
How to get user's metadata from the auth table? I ...
# javascript
j
joshcowan25
07/12/2022, 7:43 PM
How to get user's metadata from the auth table? I tought It would be send when I sign in, but it's not there.
o
Olyno
07/12/2022, 8:16 PM
Hi
You should get your metadata (stored ones) Can you check if you have an error? What's your current code?
@joshcowan25
j
joshcowan25
07/12/2022, 10:06 PM
I receive an object and I have no error. My authentification works well, but the "user_metadata": returns an empty object {}, but there are datas...
joshcowan25
07/12/2022, 10:07 PM
I did some test, I think authentification doesn't return user metadata, so I used supabase.auth.user() instead and now I have them
o
Olyno
07/12/2022, 10:18 PM
Awesome if it works!
Previous
Next