Example of the OAuth authentication flow.