how to link multiple auth providers to an account on android?How to save an Android Activity state using save instance state?Why is the Android emulator so slow? How can we speed up the Android emulator?How to Link Multiple Auth Providers to an Firebase Account?Firebase Manage Multiple auth providerLink Multiple Auth Providers to an Account on Android - FirebaseLink firebase account on first app launchFirebase Multiple Auth Providers IssueHow to correctly link different Auth accounts in Firebase IOSLink Multiple accounts in FirebaseFirebaseAuthUI for iOS. How to link auth providers to a user account
What should we do with manuals from the 80s?
Is there a fallacy about "appeal to 'big words'"?
How can I find files in directories listed in a file?
The more + the + comparative degree
Did Michelle Obama have a staff of 23; and Melania have a staff of 4?
What modifiers are added to the attack and damage rolls of this unique longbow from Waterdeep: Dragon Heist?
Are there really no countries that protect Freedom of Speech as the United States does?
How much can I judge a company based on a phone screening?
How to measure if Scrum Master is making a difference and when to give up
Is this bar slide trick shown on Cheers real or a visual effect?
Doesn't the speed of light limit imply the same electron can be annihilated twice?
Spacing in "$d=2$-dimensional"
Weird resistor with dots around it
What is the prop for Thor's hammer (Mjölnir) made of?
Setting up a Mathematical Institute of Refereeing?
Why aren't rockets built with truss structures inside their fuel & oxidizer tanks to increase structural strength?
Scam? Phone call from "Department of Social Security" asking me to call back
Solving a maximum minimum problem
If a person claims to know anything could it be disproven by saying 'prove that we are not in a simulation'?
Who is the controller of a Pacifism enchanting my creature?
How to prevent criminal gangs from making/buying guns?
Heyawake: An Introductory Puzzle
Unconventional examples of mathematical modelling
Is there a word for returning to unpreparedness?
how to link multiple auth providers to an account on android?
How to save an Android Activity state using save instance state?Why is the Android emulator so slow? How can we speed up the Android emulator?How to Link Multiple Auth Providers to an Firebase Account?Firebase Manage Multiple auth providerLink Multiple Auth Providers to an Account on Android - FirebaseLink firebase account on first app launchFirebase Multiple Auth Providers IssueHow to correctly link different Auth accounts in Firebase IOSLink Multiple accounts in FirebaseFirebaseAuthUI for iOS. How to link auth providers to a user account
.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty,.everyoneloves__bot-mid-leaderboard:empty margin-bottom:0;
Can anyone exactly give example how to merge multiple auth provider in firebase cause in firebase documentation also there is no exact code how to do it..
This is the exact error i m getting..
An account already exists with the same email address but different sign-in credentials. Sign in using a provider associated with this email address.
android firebase firebase-authentication
add a comment |
Can anyone exactly give example how to merge multiple auth provider in firebase cause in firebase documentation also there is no exact code how to do it..
This is the exact error i m getting..
An account already exists with the same email address but different sign-in credentials. Sign in using a provider associated with this email address.
android firebase firebase-authentication
add a comment |
Can anyone exactly give example how to merge multiple auth provider in firebase cause in firebase documentation also there is no exact code how to do it..
This is the exact error i m getting..
An account already exists with the same email address but different sign-in credentials. Sign in using a provider associated with this email address.
android firebase firebase-authentication
Can anyone exactly give example how to merge multiple auth provider in firebase cause in firebase documentation also there is no exact code how to do it..
This is the exact error i m getting..
An account already exists with the same email address but different sign-in credentials. Sign in using a provider associated with this email address.
android firebase firebase-authentication
android firebase firebase-authentication
edited Mar 29 at 4:03
Akshay LLS
asked Mar 27 at 11:50
Akshay LLSAkshay LLS
35 bronze badges
35 bronze badges
add a comment |
add a comment |
1 Answer
1
active
oldest
votes
The Firebase documentation on Linking Multiple Auth Providers to an Account on Android contains all the relevant code snippets you should need. If you'd like to see the context of that code, clicking the file name under each snippet (for example MainActivity.java
) takes you to the repo that has the full working code.
For an even more complete example, you can have a look at FirebaseUI for Android, which contains a complete UI for most authentication flows and which supports upgrading anonymous accounts through account linking. For example, see this code for upgrading an anonymous account to an email+password account.
If you're having a hard time making these work in your own application, please update your question to show what you've already tried.
Thank you for your answer but repo that has full working code is like this.. FirebaseUser currentUser = task.getResult().getUser(); // Merge prevUser and currentUser accounts and data // ... } }); // [END auth_link_and_merge] }They are not provide exact code how to merge if you can help me with that..so it will be helpful
– Akshay LLS
Mar 28 at 3:57
These are the two lines in the snippets that you need to use to link: github.com/firebase/FirebaseUI-Android/blob/… The FirebaseUI repo is used by thousands of developers to implement auth without writing their own code. If you're having trouble implementing these in your own app, show what you've tried in your question please.
– Frank van Puffelen
Mar 28 at 13:18
Sir Thank you again for your response but i want to merge google account to facebook...this code snippets that you give is for merging email and password ..so if you can please tell me how to do that that will be helpful.
– Akshay LLS
Mar 29 at 3:59
I have also updated my question
– Akshay LLS
Mar 29 at 4:01
The code for that is in the next method. If you're having a hard time making that work, show in your question what you've tried.
– Frank van Puffelen
Mar 29 at 14:25
add a comment |
Your Answer
StackExchange.ifUsing("editor", function ()
StackExchange.using("externalEditor", function ()
StackExchange.using("snippets", function ()
StackExchange.snippets.init();
);
);
, "code-snippets");
StackExchange.ready(function()
var channelOptions =
tags: "".split(" "),
id: "1"
;
initTagRenderer("".split(" "), "".split(" "), channelOptions);
StackExchange.using("externalEditor", function()
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled)
StackExchange.using("snippets", function()
createEditor();
);
else
createEditor();
);
function createEditor()
StackExchange.prepareEditor(
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: true,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: 10,
bindNavPrevention: true,
postfix: "",
imageUploader:
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
,
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
);
);
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f55376491%2fhow-to-link-multiple-auth-providers-to-an-account-on-android%23new-answer', 'question_page');
);
Post as a guest
Required, but never shown
1 Answer
1
active
oldest
votes
1 Answer
1
active
oldest
votes
active
oldest
votes
active
oldest
votes
The Firebase documentation on Linking Multiple Auth Providers to an Account on Android contains all the relevant code snippets you should need. If you'd like to see the context of that code, clicking the file name under each snippet (for example MainActivity.java
) takes you to the repo that has the full working code.
For an even more complete example, you can have a look at FirebaseUI for Android, which contains a complete UI for most authentication flows and which supports upgrading anonymous accounts through account linking. For example, see this code for upgrading an anonymous account to an email+password account.
If you're having a hard time making these work in your own application, please update your question to show what you've already tried.
Thank you for your answer but repo that has full working code is like this.. FirebaseUser currentUser = task.getResult().getUser(); // Merge prevUser and currentUser accounts and data // ... } }); // [END auth_link_and_merge] }They are not provide exact code how to merge if you can help me with that..so it will be helpful
– Akshay LLS
Mar 28 at 3:57
These are the two lines in the snippets that you need to use to link: github.com/firebase/FirebaseUI-Android/blob/… The FirebaseUI repo is used by thousands of developers to implement auth without writing their own code. If you're having trouble implementing these in your own app, show what you've tried in your question please.
– Frank van Puffelen
Mar 28 at 13:18
Sir Thank you again for your response but i want to merge google account to facebook...this code snippets that you give is for merging email and password ..so if you can please tell me how to do that that will be helpful.
– Akshay LLS
Mar 29 at 3:59
I have also updated my question
– Akshay LLS
Mar 29 at 4:01
The code for that is in the next method. If you're having a hard time making that work, show in your question what you've tried.
– Frank van Puffelen
Mar 29 at 14:25
add a comment |
The Firebase documentation on Linking Multiple Auth Providers to an Account on Android contains all the relevant code snippets you should need. If you'd like to see the context of that code, clicking the file name under each snippet (for example MainActivity.java
) takes you to the repo that has the full working code.
For an even more complete example, you can have a look at FirebaseUI for Android, which contains a complete UI for most authentication flows and which supports upgrading anonymous accounts through account linking. For example, see this code for upgrading an anonymous account to an email+password account.
If you're having a hard time making these work in your own application, please update your question to show what you've already tried.
Thank you for your answer but repo that has full working code is like this.. FirebaseUser currentUser = task.getResult().getUser(); // Merge prevUser and currentUser accounts and data // ... } }); // [END auth_link_and_merge] }They are not provide exact code how to merge if you can help me with that..so it will be helpful
– Akshay LLS
Mar 28 at 3:57
These are the two lines in the snippets that you need to use to link: github.com/firebase/FirebaseUI-Android/blob/… The FirebaseUI repo is used by thousands of developers to implement auth without writing their own code. If you're having trouble implementing these in your own app, show what you've tried in your question please.
– Frank van Puffelen
Mar 28 at 13:18
Sir Thank you again for your response but i want to merge google account to facebook...this code snippets that you give is for merging email and password ..so if you can please tell me how to do that that will be helpful.
– Akshay LLS
Mar 29 at 3:59
I have also updated my question
– Akshay LLS
Mar 29 at 4:01
The code for that is in the next method. If you're having a hard time making that work, show in your question what you've tried.
– Frank van Puffelen
Mar 29 at 14:25
add a comment |
The Firebase documentation on Linking Multiple Auth Providers to an Account on Android contains all the relevant code snippets you should need. If you'd like to see the context of that code, clicking the file name under each snippet (for example MainActivity.java
) takes you to the repo that has the full working code.
For an even more complete example, you can have a look at FirebaseUI for Android, which contains a complete UI for most authentication flows and which supports upgrading anonymous accounts through account linking. For example, see this code for upgrading an anonymous account to an email+password account.
If you're having a hard time making these work in your own application, please update your question to show what you've already tried.
The Firebase documentation on Linking Multiple Auth Providers to an Account on Android contains all the relevant code snippets you should need. If you'd like to see the context of that code, clicking the file name under each snippet (for example MainActivity.java
) takes you to the repo that has the full working code.
For an even more complete example, you can have a look at FirebaseUI for Android, which contains a complete UI for most authentication flows and which supports upgrading anonymous accounts through account linking. For example, see this code for upgrading an anonymous account to an email+password account.
If you're having a hard time making these work in your own application, please update your question to show what you've already tried.
answered Mar 27 at 14:03
Frank van PuffelenFrank van Puffelen
270k34 gold badges438 silver badges461 bronze badges
270k34 gold badges438 silver badges461 bronze badges
Thank you for your answer but repo that has full working code is like this.. FirebaseUser currentUser = task.getResult().getUser(); // Merge prevUser and currentUser accounts and data // ... } }); // [END auth_link_and_merge] }They are not provide exact code how to merge if you can help me with that..so it will be helpful
– Akshay LLS
Mar 28 at 3:57
These are the two lines in the snippets that you need to use to link: github.com/firebase/FirebaseUI-Android/blob/… The FirebaseUI repo is used by thousands of developers to implement auth without writing their own code. If you're having trouble implementing these in your own app, show what you've tried in your question please.
– Frank van Puffelen
Mar 28 at 13:18
Sir Thank you again for your response but i want to merge google account to facebook...this code snippets that you give is for merging email and password ..so if you can please tell me how to do that that will be helpful.
– Akshay LLS
Mar 29 at 3:59
I have also updated my question
– Akshay LLS
Mar 29 at 4:01
The code for that is in the next method. If you're having a hard time making that work, show in your question what you've tried.
– Frank van Puffelen
Mar 29 at 14:25
add a comment |
Thank you for your answer but repo that has full working code is like this.. FirebaseUser currentUser = task.getResult().getUser(); // Merge prevUser and currentUser accounts and data // ... } }); // [END auth_link_and_merge] }They are not provide exact code how to merge if you can help me with that..so it will be helpful
– Akshay LLS
Mar 28 at 3:57
These are the two lines in the snippets that you need to use to link: github.com/firebase/FirebaseUI-Android/blob/… The FirebaseUI repo is used by thousands of developers to implement auth without writing their own code. If you're having trouble implementing these in your own app, show what you've tried in your question please.
– Frank van Puffelen
Mar 28 at 13:18
Sir Thank you again for your response but i want to merge google account to facebook...this code snippets that you give is for merging email and password ..so if you can please tell me how to do that that will be helpful.
– Akshay LLS
Mar 29 at 3:59
I have also updated my question
– Akshay LLS
Mar 29 at 4:01
The code for that is in the next method. If you're having a hard time making that work, show in your question what you've tried.
– Frank van Puffelen
Mar 29 at 14:25
Thank you for your answer but repo that has full working code is like this.. FirebaseUser currentUser = task.getResult().getUser(); // Merge prevUser and currentUser accounts and data // ... } }); // [END auth_link_and_merge] }They are not provide exact code how to merge if you can help me with that..so it will be helpful
– Akshay LLS
Mar 28 at 3:57
Thank you for your answer but repo that has full working code is like this.. FirebaseUser currentUser = task.getResult().getUser(); // Merge prevUser and currentUser accounts and data // ... } }); // [END auth_link_and_merge] }They are not provide exact code how to merge if you can help me with that..so it will be helpful
– Akshay LLS
Mar 28 at 3:57
These are the two lines in the snippets that you need to use to link: github.com/firebase/FirebaseUI-Android/blob/… The FirebaseUI repo is used by thousands of developers to implement auth without writing their own code. If you're having trouble implementing these in your own app, show what you've tried in your question please.
– Frank van Puffelen
Mar 28 at 13:18
These are the two lines in the snippets that you need to use to link: github.com/firebase/FirebaseUI-Android/blob/… The FirebaseUI repo is used by thousands of developers to implement auth without writing their own code. If you're having trouble implementing these in your own app, show what you've tried in your question please.
– Frank van Puffelen
Mar 28 at 13:18
Sir Thank you again for your response but i want to merge google account to facebook...this code snippets that you give is for merging email and password ..so if you can please tell me how to do that that will be helpful.
– Akshay LLS
Mar 29 at 3:59
Sir Thank you again for your response but i want to merge google account to facebook...this code snippets that you give is for merging email and password ..so if you can please tell me how to do that that will be helpful.
– Akshay LLS
Mar 29 at 3:59
I have also updated my question
– Akshay LLS
Mar 29 at 4:01
I have also updated my question
– Akshay LLS
Mar 29 at 4:01
The code for that is in the next method. If you're having a hard time making that work, show in your question what you've tried.
– Frank van Puffelen
Mar 29 at 14:25
The code for that is in the next method. If you're having a hard time making that work, show in your question what you've tried.
– Frank van Puffelen
Mar 29 at 14:25
add a comment |
Got a question that you can’t ask on public Stack Overflow? Learn more about sharing private information with Stack Overflow for Teams.
Got a question that you can’t ask on public Stack Overflow? Learn more about sharing private information with Stack Overflow for Teams.
Thanks for contributing an answer to Stack Overflow!
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
To learn more, see our tips on writing great answers.
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f55376491%2fhow-to-link-multiple-auth-providers-to-an-account-on-android%23new-answer', 'question_page');
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown