[impl] Authentification #1
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Make the auth system
Register
Login
@yun wrote in #1 (comment):
Yo ! Here are a few points to consider and wonder I have.
2.1. Should we allow a user to have multiple accounts with the same email address? -> I would say no.
I find the authentication method you came up with quite interesting :D
@endmove wrote in #1 (comment):
Hey!
First, credits to @snowcode for the idea, and thanks for your interest in this project!
jérôme@test.comandjerome@test.comas the same address, so I can't do anything about that safely (thinking about it, I'm not even sure the standard allows accented characters).Thanks!
@yun wrote in #1 (comment):
My bad ! thanks to snowcode !
browser type+last activity day/month/year h:m:sseems like a good idea to me, to be able to select a single session to destroy.@endmove wrote in #1 (comment):
Yes that might be a problem, but that's like any platform with unique usernames. If your username is already taken you have to use another one. We could use discriminators (like in the old discord) but I think it's more confusing for people ("I'm yun" -> "Which one?") or forces everyone to append a random identifier along with their chosen name ("I'm yun#6419")
Great idea! Session info could definitely be useful.
ATM only the session id, user, and creation date are storedIt looks like I forgot thesessionstable entirely in the first migration But I'll add some fields for the platform, last activity date and an optional custom name. Thanks!@yun wrote in #1 (comment):
It's my pleasure ! I hope beeing able to help project grow, I saw you started the backend in rust at the moment I only have basis with this language but will learn and move forward :)
devto authenticationAuthentificationto [impl] Authentification