3 ms·
Stormpath and (I think) AWS API Gateway can give you out-of-the-box OAuth2. Start there. Username/password is not mutually exclusive to API key and OAuth. Also
by smt88 11y ago
Stormpath and (I think) AWS API Gateway can give you out-of-the-box OAuth2. Start there.
Username/password is not mutually exclusive to API key and OAuth. Also, API key is also not mutually exclusive to OAuth. All of these things can be intermixed for different purposes. In some cases, API keys are only used to identify the client, and not for any type of security.
> mainly because I want to learn how to do it
Don't do this unless the security isn't important for this project. Writing secure code is really hard. You don't write an SSH library every time you need SSH, do you?
I can also tell from your question that you don't have even the most basic understanding of web app security (saying that OAuth is complicated for "nothing").