OAuth 2.0 with practical flows, implementations, real-world use cases, and decision-making for robust API architectures