code
. OAuth2 outlines multiple authorization types. Smartcar Connect utilizes the “Authorization Code” flow.REDIRECT_URI
back to your application. This value is often used to identify a user and/or prevent cross-site request forgeryauto
and will only display the approval dialog if the user has not previously approved the scope.
Set this to force
to ensure the approval dialog is always shown to the user even if they have previously approved the same scope.makes
can be found in the makes section on API reference.
The single_select_vin
parameter takes precedence over this parameter.single_select_vin
, you need to pass in the VIN (Vehicle Identification Number) of a specific vehicle into the single_select_vin
parameter.
Additionally, you need to set the single_select
parameter to true
.
Smartcar Connect will then let the user authorize only the vehicle with that specific VIN.
The single_select_vin
parameter takes precedence over the make
parameter.
Please refer to the Single Select section for more information.{flag}:{value}
.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.