Hacker News new | ask | show | jobs
by lilbobbytables 3032 days ago
Why not tokens? They're easy and work well with an Authorization header on mobile.
2 comments

I'd argue that they can also be implemented in a much more lightweight fashion than having to go through a whole OAuth flow just for a mobile app that hits an API that you control completely.
Then you have to deal with password resets and account creation, which if you know how those work, don't really sound all that lightweight compared to OAuth 2.
I'm not sure what you mean. The OAuth2 spec defines access tokens and also specifies that they should go in an Authorization header.