Reauthentication
Handle the Response
If the re-auth is successful, the redirect to your application will contain a vehicle ID. In the case of an error, we’ll provide an error and description as parameters instead.
Success
vehicle_id
Unique identifier for a vehicle on Smartcar’s platform.
state
If the redirect to Smartcar Connect contains a state parameter, that parameter will be returned here.
Success
HTTP/1.1 302 Found
Location: https://example.com/home?
vehicle_id=sc4a1b01e5-0497-417c-a30e-6df6ba33ba46
&state=0facda3319
Error
For a detailed description of these errors, please see our errors page.
error
The type of error
error_description
A detailed description of what caused the error
state
If the redirect to Smartcar Connect contains a state parameter, that parameter will be returned here.
Error
HTTP/1.1 302 Found
Location: https://example.com/home?
error=access_denied
&error_description=User+denied+access+to+application.
&state=0facda3319
Was this page helpful?