This flow seems to be working, as the moment we create the custom token and send it back to the Client SDK in Web/Mobile, we can call signInWithCustom and the resulting token from
authStateChange((user) => user.getToken()) yields a token which we can verify back on the server, and contains our claims.
Question is if there is a simpler way to do so?
--
You received this message because you are subscribed to the Google Groups "Firebase Google Group" group.
To unsubscribe from this group and stop receiving emails from it, send an email to firebase-talk+unsubscribe@googlegroups.com.
To post to this group, send email to fireba...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/firebase-talk/c00544e2-6216-46d8-9185-3fbcdbbcb8af%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.