ElixirMostWanted / elixirmostwanted.com

60 stars 9 forks source link

Implement an account mangamement system with GitHub auth #2

Closed bcardarella closed 4 months ago

bcardarella commented 4 months ago

Because there will be voting and submissions I'd prefer to limit to some public identities rather than anonymous auth.

I don't think we need any information from the individuals beyond GH auth.

users:

Depends on #1

iagocavalcante commented 4 months ago

Guess this information is enough. What do you think?

%{
          uid: Kernel.inspect(auth.uid),
          email: email,
          avatar: avatar_from_auth(auth)
   }
bcardarella commented 4 months ago

@iagocavalcante are these from GH auth? If so then we don't need email. We just need their GH username and whatever token their oauth provider gives

moomerman commented 4 months ago

Is the oauth token required? Would only need that to do something on their behalf on GitHub. Minimal requirements probably the username and the UID (in case they change username).

bcardarella commented 4 months ago

Probably not, we just need to persist the auth session.

bcardarella commented 4 months ago

Closed by #6