integration.authorization.strategies.oauth2.oauth2_utils
format_oauth2_error_response
def format_oauth2_error_response(response: Response) -> str
Formats an OAuth2 error to a human-readable string.
Arguments:
response- The OAuth2 response.
Returns:
The formatted string.