- Language: en
- Documentation version: 0.1.0
This set of exceptions were introduced to describe the situations a bit more
than just the
ValueError usually raised.
Base class for all social auth exceptions.
Base exception class for authentication process errors.
Authentication failed for some reason.
Authentication was canceled by the user.
An unknown error stoped the authentication process.
Unauthorized or access token error, it was invalid, impossible to authenticate or user removed permissions to it.
A needed parameter to continue the process was missing, usually raised by the services that need some POST data like myOpenID.
A different user has already associated the social account that the current user is trying to associate.
Raised when the backend given in the URLs is invalid (not enabled or registered).
Raised on disconnect action when it’s not safe for the user to disconnect the social account, probably because the user lacks a password or another social account.
The state parameter is missing from the server response.
The state parameter returned by the server is not the one sent.
Raised when the user revoked the access_token in the provider.
Raised when server couldn’t communicate with backend.
These are a subclass of
ValueError to keep backward compatibility.