joscha / play-authenticate

An authentication plugin for Play Framework 2.x (Java)
http://joscha.github.com/play-authenticate/
Other
807 stars 369 forks source link

Why LinkedAccount#providerUserId is called like this while its content is a hashed password? #323

Open bravegag opened 7 years ago

bravegag commented 7 years ago

Looking at the usage sample I am a bit puzzled on why the LinkedAccount#providerUserId is called like this while its content is a hashed password? Besides IMHO I don't think LinkedAccount requires a PK id it is superfluous as it is a Many-to-one user so it only needs the user_id as FK.