OAuth 2.0 and API Security: Implementing Secure Authentication