Ask the Community
Groups
IT Glue Authorization from Live Connect fails with error: "invalid_grant" - Connect IT Community | Kaseya
<main> <article class="userContent"> <p><strong>Problem: </strong>Attempting to authorize the VSA after clicking the <strong>Authorize</strong> button inside KLC to authenticate with IT Glue, fails with the below error message:</p> <p><img src="https://us.v-cdn.net/6032361/uploads/migrated/R93BSZUQUOT9/screenshot.png" alt="Screenshot.png" width="272" height="105" class="embedImage-img importedEmbed-img"></img></p> <pre class="code codeBlock" spellcheck="false" tabindex="0">{"error":"invalid_grant","error_description":"The provided authorization grant is invalid, expired, revoked, does not match the redirection URI used in the authorization request, or was issued to another client."}</pre> <p><strong>Cause: </strong>Capitalization in the URL <em>(*inside IT</em> <em>Glue</em>) causes this error.</p> <p><strong>Solution: </strong></p> <ol><li>Change the authorization URL to not have any capital letters in the string (*<em>done inside IT Glue</em>)</li> <li>Replace all the capital letters in the URL with lowercase - this should only be edited only on the VSA URL and not the "<em>ITGlueOAuthClient.ashx</em>" portion.</li> <li>Refresh the browser</li> <li>Confirm that the authorization is successful.</li> </ol><p> </p> <p>If it still fails make sure that the VSA server name is all <strong>lowercase</strong> under System > Server Management > Configure > Change external name / IP address of Server<br><img src="https://us.v-cdn.net/6032361/uploads/migrated/B8O3VD3E963M/mceclip0.png" alt="image" class="embedImage-img importedEmbed-img"></img></p> <p><strong>Applies to: </strong>9.5.0.12 and up</p> <p><a href="/home/leaving?allowTrusted=1&target=http%3A%2F%2Fhelp.kaseya.com%2Fwebhelp%2FEN%2FITG%2F9050000%2FVSAandITGlue_IntegrationGuide.pdf" rel="noopener nofollow">http://help.kaseya.com/webhelp/EN/ITG/9050000/VSAandITGlue_IntegrationGuide.pdf</a> </p> </article> </main>