How hard is it to implement email verification?

  • it_depends_man@lemmy.world
    link
    fedilink
    English
    arrow-up
    255
    arrow-down
    4
    ·
    2 days ago

    How hard is it to implement email verification?

    Harder, actually.

    That’s the point of OAuth, which is what you’re seeing there.

    The idea is that you’re you and you have a… google account. This shitty little website doesn’t want to be responsible for you login details, because those can get stolen. Maybe they contain an email address, which is a problem. Software needs to be updated, it’s all a big. They don’t want to touch anything in terms of security that identifies you as you.

    Maybe all the website does is save your favorite pepe memes. They don’t need anything else from you, but they still need to have something to get a user id and make sure nobody messes with your pepe meme collection. That’s where this system comes in, because the rest of website becomes significantly easier. They don’t need to store anything personally identifying, all they get is an ID and they can connect it with your pepes.

    The only downside to OAuth is, as you can also see, that it’s corpos you don’t want to trust that are offering it.

    • Blackmist@feddit.uk
      link
      fedilink
      English
      arrow-up
      1
      ·
      11 hours ago

      Well there is that, but it also gets them potentially a whole bunch of extra info about you, and lets them link you up with data from other sites they may own or share data with.

      It does tell you what you’re about to give them, but 25+ years in the industry has taught me only too well that nobody ever reads anything ever.

    • a_non_monotonic_function@lemmy.world
      link
      fedilink
      English
      arrow-up
      1
      ·
      21 hours ago

      Shitty little website…

      I don’t know, man, I don’t want anyone that doesn’t understand or doesn’t give a shit about security trying to implement it.

      That’s just a recipe for bad things.

    • criss_cross@lemmy.world
      link
      fedilink
      English
      arrow-up
      27
      ·
      2 days ago

      Was just about to say getting Auth right is super hard. Getting someone else to do it for you is a godsend.

    • lenocolomo@lemmy.ml
      link
      fedilink
      English
      arrow-up
      35
      arrow-down
      1
      ·
      2 days ago

      While I get that, it is still unfortunate that no open-source, trusted variant can be part of the usual ways.

    • skisnow@lemmy.ca
      link
      fedilink
      English
      arrow-up
      2
      ·
      2 days ago

      Most users outside of Lemmy dgaf about corpos if it saves them having to type in an email address on their phone and get it right and then go to their email and then hit refresh a few times before going back and hitting send again and then checking their spam folder

    • nieminen@lemmy.world
      link
      fedilink
      English
      arrow-up
      4
      ·
      2 days ago

      Yeah, some of the same reason everyone uses stripe or PayPal for payment systems. If the site itself handles the cc info it holds all the liability, and has to pass rigorous POC testing and compliance.

    • Wispy2891@lemmy.world
      link
      fedilink
      English
      arrow-up
      2
      ·
      2 days ago

      But most oauth implementations use the user email as identifier so they get the email anyway

      • it_depends_man@lemmy.world
        link
        fedilink
        English
        arrow-up
        4
        ·
        1 day ago

        All the smarter ones don’t because an email can change, your google account unique id will not, that’s the purpose of account IDs.

        I won’t deny that many people/websites probably do use email though. Which is bad. But I can’t deny that that probably is what is happening.

        • Wispy2891@lemmy.world
          link
          fedilink
          English
          arrow-up
          1
          ·
          1 day ago

          i saw many that use the email as “convenience”, as the user can later login with a magic link (i hate those!) without the oauth or even using another oauth service linked to the same email

    • fraksken@infosec.pub
      link
      fedilink
      English
      arrow-up
      6
      arrow-down
      1
      ·
      2 days ago

      I have no account with the above. I wouldn’t make one for being able to use another service.

      No idea what the product is here, but I guess I’m not their target audience. Which is fine.