You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
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