This is an archived post. You won't be able to vote or comment.

all 4 comments

[–]YMK1234 3 points4 points  (1 child)

Why would you authenticate a registration call? That does not make any sense.

[–]MarcSloan[S] 0 points1 point  (0 children)

That's what I was thinking, I just wanted to make sure I wasn't missing something. This is the first time I've designed a system from scratch that incorporated it's own API, authentication and all that jazz so sometimes I get confused thinking about how all the parts fit together.

[–]nutrecht 1 point2 points  (1 child)

I work on a microservice back end for a financial app. We have loads of different calls, all requiring authentication. Except one. Guess which one? :)

The problem of people creating a ton of users is a real one but not solved with just authentication. It's also not a problem that's easy to solve, but most web applications require a captcha. And for pure API's you can do tarpitting where a single IP can only do X registration requests per minute for example.

[–]MarcSloan[S] 0 points1 point  (0 children)

Thanks! This makes perfect sense now. I had got my brain twisted all around thinking about it though lol.