Bug report
firestore-stripe-subscriptions
To Reproduce
Expected behavior
'StripeRole' shouldn't replace/delete other custom claims.
As can I see (https://firebase.google.com/docs/auth/admin/custom-claims#set_and_validate_custom_user_claims_via_the_admin_sdk) this is expected behavior.
It means this extension is unusable if you need to use other custom claims (you need to choose between custom claims created by firebase or stripe). I need both (stripeRole to match the subscribed plan with an appropriate document in firebase collection where I defined specific limits for that plan).
Hey @Arystosedes, thanks for bringing this to our attention, we'll get this looked at.
@Arystosedes thanks for finding this issue, can you please file it to the correct repository here? https://github.com/stripe/stripe-firebase-extensions
Most helpful comment
Hey @Arystosedes, thanks for bringing this to our attention, we'll get this looked at.