- How do I build my app to handle authorization declines?
- What do I do on access grant decline?
- Question about the "Deny Access" button
- Clio's API v4
Declined access grants are different and separate from Deauthorization requests from users who are actively using your integration, and as such they should behave differently. Click here for more info on Deauthorization and the Deauthorization Callback URL.
Clio's API v4 documentation section "Obtaining Authorization" says the following about access grants being declined:
If the user declines your application access, Clio will redirect their browser to the callback url with an
errorparameter value of "access_denied".
If you are building a desktop or mobile application, you will need to intercept the redirect to
https://app.clio.com/oauth/approval inside your WebView/WebBrowser control and extract the error from the page's title. The title string will look like