Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Multiple login providers for the same user?

Tags:

meteor

I have just glanced over the MongoDB collection for users and it seems to allow multiple login providers for a single user. From what I see, everything seems to be "there": Multiple services, different resume tokens ...

But is there currently a documented way to "associate" a new login provider with an existing user? I couldn't find anything in the official Docs :(

Or is there anything preventing this in the collection "schema"? Just in case, here is how it looks for a single user using the "password" login service.

{
    "createdAt" : 123456,
    "services" : {
        "password" : {
            "srp" : {
                "identity" : "XXX",
                "salt" : "XXX",
                "verifier" : "XXX"
            }
        },
            "resume" : {
                "loginTokens" : [
                    {
                        "token" : "XXX",
                        "when" : 123456
                    }
                ]
            }
        },
   "emails" : [
        {
            "address" : "[email protected]",
            "verified" : false
        }
   ],
   "_id" : "7f98645e-df24-4015-8075-2463c6c8cfc5"
}
like image 483
Marcus Riemer Avatar asked Jan 15 '13 10:01

Marcus Riemer


People also ask

Can I create a user with the same credentials in Firebase?

You can allow users to sign in to your app using multiple authentication providers by linking auth provider credentials to an existing user account. Users are identifiable by the same Firebase user ID regardless of the authentication provider they used to sign in.

What is app Secret Facebook in Firebase?

The app ID and secret key are unique and are assigned by Facebook. To create the App ID and secret key, visit the following URL: https://developers.facebook.com/. We can add the new application from the My Apps option: We can visit the following URL to add the new project: https://developers.facebook.com/apps/.

What is authentication provider in Salesforce?

With an authentication provider, your users can access your Salesforce org or Experience Cloud site with single sign-on (SSO) using credentials from a third party. Authentication providers also give your users access to protected third-party data.


1 Answers

With the current version of meteor (0.8.0.3) it is not possible to make use of multiple login providers out of the box. But there is package on athmosphere which allows this.

like image 70
Marcus Riemer Avatar answered Sep 29 '22 02:09

Marcus Riemer