--
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/a65c8171-dc26-427f-be63-3065a7644eb9%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Hi Ian,See this thread. It explains some of the alternatives to using custom claims (use the Database). If you want to use custom claims, you'll have to manage the auth process and sign the tokens yourself.☼, Kato
On Mon, Oct 3, 2016 at 4:15 PM, Ian <flo...@scheel.eu> wrote:
Hi everyone!We are new to Firebase Auth and wanted to use it mainly because of the easy integration with social login providers which are extremely user-friendly and convenient. However, we also need to be able to add custom claims to the JWT to use it for authentication and authorization of requests from the web app against our backend servers. If we understand correctly, custom claims like "userType":"admin" are only supported in custom auth.So if we use custom auth with our custom claims, and let users add a Google or Github account, for example, what will the JWT look like that our web application send to our server? Will it contain only the data/attributes of the auth provider used for the most recent login, e.g. Google, or will the auth data of all associated accounts be included in the token? If the latter would be the case, we might only have to use our custom login once, then connect a social login and we would still be able to use custom claims without reducing user convenience.Best regards,Ian
--
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-tal...@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/a65c8171-dc26-427f-be63-3065a7644eb9%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
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/c1d22447-0fd5-41f7-89c7-372aa1857fbd%40googlegroups.com.