Retrieve user custom claims on server side #1449
Unanswered
kanopa
asked this question in
Questions and Help
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hello, how to correct Retrieve custom claims on profile on server side, now i can only see possibilities to getCurrentUser and get it from reloadUserInfo customAttributes and after that you need to parse the string and only then get the required field. In prev version of nuxt-vuefire vuefireUser contains customClaims param.
Is there a more elegant way to do this?
Also i have similar question but for token, on server side for getting user token i need to use getCurrentUser, right? (I just don't use a firestore and I need a user token to pass it to my http client)
Thanks for help
Beta Was this translation helpful? Give feedback.
All reactions