How to use 'linkWithCredentials' with custom tokens
56 views
Skip to first unread message
YOONSEONG BAEK
unread,
Dec 11, 2024, 9:28:57 AM12/11/24
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to Firebase Google Group
I'm using an OAuth provider, Kakao, for authentication (signInWithCustomToken). However, I want to link a user who signed in with Google to a custom token generated using the values received from Kakao.
In this case, I don't know how to link them because there's no way to create an AuthCredential.
Would it be too risky to use the EmailProvider by generating an arbitrary password (e.g., hashing the ID and email)?