Focus on your Service,
We care about authentication !
The algorithm returns an authorization code and then retrieves tokens:
This algorithm is best suited for stateful applications (with sessions/backend)
This is an extension to the Authorization Code flow to be able to securely perform the OAuth exchange from public clients:
Algorithm for Native and Single Page applications. This flow is mandatory for Mobile applications
The algorithm directly returns the tokens.
Algorithm for Native and Single Page applications
This flow has been deprecated. Please use the PKCE flow instead.