faustinoaq changed the topic of #amber to: Welcome to Amber Framework community! | https://amberframework.org | Developer happiness, productivity and bare metal performance | GH: https://github.com/amberframework | Docs: https://docs.amberframework.org | Gitter: https://gitter.im/amberframework/amber | IRC Logger: https://irclog.whitequark.org/amber | Amber::Server.start
<FromGitter> <damianham> Going back to the previous example code for the Provider class ⏎ ⏎ ```code paste, see link``` ⏎ ⏎ So the (provider.provider,provider.identity) tuple (e.g twitter:@darth_frog) uniquely identifies a user of a remote provider - and the record belongs to a local user i.e. it has a user_id:Int64 column, so when you find the provider record for the data in the callback you have the associated user record. Thus
<FromGitter> ... the user_id is a common piece of data shared amongst a user's associated provider records. [https://gitter.im/amberframework/amber?at=5e258ba14c1f9679ec1a286a]
feepbot has quit [Ping timeout: 268 seconds]
feepbot has joined #amber
FromGitter has quit [Remote host closed the connection]
FromGitter has joined #amber
confact has quit [Ping timeout: 258 seconds]
confact has joined #amber
<FromGitter> <Blacksmoke16> Sorry, I more so meant the scenario where you login with Twitter, but then later login with Google
<FromGitter> <Blacksmoke16> In which case, you wouldn't have their Twitter handle, most likely, so there would have to be some piece of data shared between all possible providers, like an email