Reauthentication
Handle the Response
If the re-auth is succesfull, the redirect to your application will contain an authorization code. In the case of on error, we'll provide an error and description as parameters instead.
Success
coderequired
An authorization code used to obtain an access_token
. The auth_code
expires after 10 minutes.
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?
code=90abecb6-e7ab-4b85-864a-e1c8bf67f2ad
&state=0facda3319
Error
For a detailed description of these errors, please see our errors page.
errorrequired
The type of error
error_descriptionrequired
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