While it is a vast topic that authors have described in many books and articles, I’d like to review what design patterns and architectures I’ve encountered in my career so far.
OAuth 2.0 (Open Authorization) is a protocol that allows an application (the client) to access resources on behalf of a user without exposing the user’s credentials to the client.