The
AUTHENTICATION_FAILED
API error contains a partially constructed re-authentication URL in the resolution.url
field.The application’s unique identifier.
The URI a user will be redirected to after authorization. This value must match one of the redirect URIs set in the credentials tab of the dashboard.The first redirect URI you add to your application is automatically set as the default. If you do not specify a
redirect_uri
in your Connect URL, Smartcar will use this default URI. You can add multiple URIs and set any of them as the default in the Smartcar Dashboard.This value must be set to
vehicle_id
.The id of the vehicle you are reauthenticating.
An optional value included as a query parameter in the redirect_uri back to your application. This value is often used to identify a user and/or prevent cross-site request forgery
Specify a unique identifier for the vehicle owner to track and aggregate analytics across Connect sessions for each vehicle owner on Dashboard.Note: Use the
state
parameter in order to identify the user at your callback URI when receiving an authorization or error code after the user exits the Connect flow.