Closed sankethkatta closed 5 years ago
When a user denies access to an application, the SDK returns an AuthorizationError to the completion handler. There are a few different cases this error is returned as we can see in the callback handling code below:
AuthorizationError
completion
https://github.com/smartcar/ios-sdk/blob/2dd06dedff4ea26b6afc523ccb4a8f206798fb78/SmartcarAuth/SmartcarAuth.swift#L143-L161
There is no documentation around this error. In addition, the detailed error_description returned by the Smartcar Connect flow is also not surfaced.
error_description
Resolved by #53
When a user denies access to an application, the SDK returns an
AuthorizationError
to thecompletion
handler. There are a few different cases this error is returned as we can see in the callback handling code below:https://github.com/smartcar/ios-sdk/blob/2dd06dedff4ea26b6afc523ccb4a8f206798fb78/SmartcarAuth/SmartcarAuth.swift#L143-L161
There is no documentation around this error. In addition, the detailed
error_description
returned by the Smartcar Connect flow is also not surfaced.