gladly-team / next-firebase-auth

Simple Firebase authentication for all Next.js rendering strategies
https://nfa-example-git-v1x-gladly-team.vercel.app/
MIT License
1.34k stars 290 forks source link

feat(firebaseAdmin): fix to pass user custom user claims to createCustomToken #495

Closed takashi closed 1 year ago

takashi commented 2 years ago

As refer to the discussion https://github.com/gladly-team/next-firebase-auth/issues/317, currently we can not retrieve custom user claims that sets on firebase user from the custom token that created in server side.

So, I added the second argument for adding custom claims.

Please tell me if I send this PR by wrong manner for this repository 🙇

Thanks for great library!

vercel[bot] commented 2 years ago

@takashi is attempting to deploy a commit to the Gladly Team on Vercel.

A member of the Team first needs to authorize it.

kamami commented 2 years ago

Waiting for this :)

tombouquet commented 2 years ago

Any updates on this? Ran into this issue today.

kmjennison commented 1 year ago

Closed in favor of #654.