Open PotentialStyx opened 4 years ago
This should be done after #22 so the Repl.it username and discord id of a user can be stored in the same document
Ok
Should be reviewed and re-scoped for v3.
Adding Repl Auth would be hard to do with v3 as we are hosting with Vercel, maybe we could add a custom authentication system with Firebase or something like that
Disagree with firebase
Features:
editors and roles by repl id could work this way: We replace request.discord_id with request.user_id and just add in editors.txt repl user ids, sessions could also start having that Id or a discord one,
then for discord_id_to_name function, just have it check if the length is a repl id length, if so just get the username (maybe repltalk module @mat-1 if there was a get user by I'd function)
That way users can auth with replit