UnsupportedGrantTypeError

exception gafaelfawr.exceptions.UnsupportedGrantTypeError

Bases: OAuthError

The grant type is not supported.

This corresponds to the unsupported_grant_type error in RFC 6749: “The authorization grant type is not supported by the authorization server.”

error: ClassVar[str] = 'unsupported_grant_type'

The RFC 6749 or RFC 6750 error code for this exception.

message: ClassVar[str] = 'Unsupported grant type'

The summary message to use when logging this error.