habibi pluto ☻
Explore posts from serversTTCTheo's Typesafe Cult
•Created by habibi pluto ☻ on 11/12/2023 in #questions
seeking some advice on how to handle auth
that makes sense — thanks a bunch! i just wanted a sanity check to make sure the idea wasn’t dumb
10 replies
TTCTheo's Typesafe Cult
•Created by habibi pluto ☻ on 11/12/2023 in #questions
seeking some advice on how to handle auth
thanks for your message, i understand that’s usually how this sort of thing is done but it’s a requirement that we don’t have a flow involving email verification or similar, we want people to be able to fill in the survey without signing in with one click and no extra setup. the survey is a one-time thing, and if we need to contact them afterwards we have other ways of doing that.
they get the link in a secure way through our government’s digital post system so there is 2fa there — as long as users don’t share the link with others we know the person who is filling in the survey is the person we sent it to
i assume the link has a token in it which the web app exchanges for an auth token when clicked? this is my first time doing a fullstack app (i normally do frontend only), i watched a video about magic links earlier and this was my understanding
10 replies
TTCTheo's Typesafe Cult
•Created by habibi pluto ☻ on 11/12/2023 in #questions
seeking some advice on how to handle auth
the way the links are sent to users is out of scope for my project btw
10 replies
TTCTheo's Typesafe Cult
•Created by habibi pluto ☻ on 11/12/2023 in #questions
seeking some advice on how to handle auth
i do also want to have an admin portal for which i would need accounts
10 replies
TTCTheo's Typesafe Cult
•Created by habibi pluto ☻ on 11/12/2023 in #questions
seeking some advice on how to handle auth
the important thing is i wont be storing emails. i just want to be able to create links to invite people, so only people who have an invite link can use it, and we can identify the data by “account ID” or something
10 replies