You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When an OAuth2 call fails, raise_from_error loops through all defined exceptions in errors.py to find one that matches the returned error code. However, the invalid_request error code is defined on a base class InvalidRequestFatalError that is implemented by several specific errors. The result is that, when an invalid_request happens, a random class is raised to the calling client.
When an OAuth2 call fails,
raise_from_error
loops through all defined exceptions inerrors.py
to find one that matches the returned error code. However, theinvalid_request
error code is defined on a base classInvalidRequestFatalError
that is implemented by several specific errors. The result is that, when aninvalid_request
happens, a random class is raised to the calling client.For example, I hade the following happen:
(which is obviously not an
InvalidClientIdError
)The text was updated successfully, but these errors were encountered: