<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 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