alexobviously / alexobviously/lexicle

Google login

Aberta
#19 1 comentário 0 reações 1 responsável Reivindicada por @alexobviously Ver no GitHub
enhancement
Linguagem predominante
Dart
Estrelas
4
Forks
0
Métricas de merge de PRs
Nenhum PR com merge em 30d

Descrição

This itself isn't too complicated. We just use the client side google auth package and send the resulting token or whatever to the server where we issue our own token etc. However, we need an intelligent system for merging accounts.

I think it should be quite explicit when you're first signing up vs logging in, i.e. don't allow people to log in with google if they haven't signed up already. Or do but prompt them first. The reason for this is because we want to allow people to merge their accounts, but if they make an account with username/password and then login in with google they will have two accounts, and won't be able to merge them after that point.

So:
* log in with google on login screen
* register with google on register screen
* if you log in with google but don't have an account yet, it asks you if you want to create one, or if you want to merge with an existing account - perhaps at this point we can pass on the social auth data and automatically merge them after a successful login
* you can log in and then in account settings "connect other login methods"

Guia de contribuição

Abrir o guia de contribuição

Avaliação

Esta issue ainda não foi avaliada.

Receba novas issues na sua caixa de entrada

Um resumo curto de issues do GitHub para quem está começando.