Replies: 1 comment 8 replies
-
To get the user's ID token, use The |
Beta Was this translation helpful? Give feedback.
8 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I have APIs exported as functions from common lib.
e.g. lib/services/teams.ts
How can I get the token in above case so that same function will be working with both SSR and SSG?
Note: I am using the react-query so that I can't pass the token id or current user to the function method.
Also, how can I use this with another provider? e.g. I want to use logrocket with the custom provider and to set current user.
Beta Was this translation helpful? Give feedback.
All reactions