ueberauth / ueberauth_identity

A username/password Strategy for Überauth
MIT License
80 stars 21 forks source link

Question: Persist in User table or Oauth authorization table? #13

Closed mikeni closed 7 years ago

mikeni commented 8 years ago

Looking at an example from

https://github.com/hassox/phoenix_guardian

It seems that hassox, the author, is saving the password in the same sql table as the other Oauth authentications under the token field.

I know that ueberauth_identity doesn't care how you store or lookup a user from identity authentication but what do you guys recommend, should i store the user password in the user table in the password field or just along with the rest of the oauth authentications under the token field?

doomspork commented 7 years ago

@mikeni I personally store the password on my user table.