# Single sign on with third-party app error. invalid\_grant: Invalid authorization

**URL:** <https://community.auth0.com/t/single-sign-on-with-third-party-app-error-invalid-grant-invalid-authorization/74530>\
**Category:** Get Help\
**Tags:** sso-integration\
**Created:** [December 9, 2021, 1:12am UTC](https://community.auth0.com/t/single-sign-on-with-third-party-app-error-invalid-grant-invalid-authorization/74530 "2021-12-09T01:12:23Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![lang.chen](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/lang.chen/32/27607_2.png) [@lang.chen](https://community.auth0.com/u/lang.chen)\
**Post date:** [December 9, 2021, 1:12am UTC](https://community.auth0.com/t/single-sign-on-with-third-party-app-error-invalid-grant-invalid-authorization/74530/1 "2021-12-09T01:12:23Z")

</div>

I’m trying to set up SSO with a third-party app called Circle. I’m able to access the Auth0 login/sign-up portal, but not able to login or sign-up. It throws an error _invalid\_grant: Invalid authorization_.  
In my Machine to Machine application, the only modification I made was adding an item to Allowed Callback URLs and added ‘Authorization Code’ to Grant Types, everything else is kept as the default setting.  
Is there anything else I need to pay attention to in the Auth0 Application configuration?  
[bugsnag\_error\_stacktrace\_OAuth2\_\_Error\_event\_61b048a3008a3b59afc60000.txt](https://community.auth0.com/uploads/short-url/8EUmWdI5O2aXUBrpKZLLuGsSqD4.txt) (11.8 KB)

 ![Screen Shot 2021-12-09 at 9.46.08 am](https://global.discourse-cdn.com/auth0/original/3X/c/8/c8d0dcef80be0e1a1f5d34170cb0350686f5e46f.png)

---

<div class="post-metadata">

**Author:** ![lang.chen](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/lang.chen/32/27607_2.png) [@lang.chen](https://community.auth0.com/u/lang.chen)\
**Post date:** [December 9, 2021, 11:16pm UTC](https://community.auth0.com/t/single-sign-on-with-third-party-app-error-invalid-grant-invalid-authorization/74530/2 "2021-12-09T23:16:21Z")

</div>

It’s now solved. I should have used a “Regular Web Application” instead.

---

<div class="post-metadata">

**Author:** ![konrad.sopala](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/konrad.sopala/32/13516_2.png) [@konrad.sopala](https://community.auth0.com/u/konrad.sopala)\
**Post date:** [December 10, 2021, 9:51am UTC](https://community.auth0.com/t/single-sign-on-with-third-party-app-error-invalid-grant-invalid-authorization/74530/3 "2021-12-10T09:51:10Z")

</div>

Wohooo! Perfect, glad to hear that and thanks for sharing with the rest of community!

---

<div class="post-metadata">

**Author:** ![konrad.sopala](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/konrad.sopala/32/13516_2.png) [@konrad.sopala](https://community.auth0.com/u/konrad.sopala)\
**Post date:** [December 22, 2021, 3:22pm UTC](https://community.auth0.com/t/single-sign-on-with-third-party-app-error-invalid-grant-invalid-authorization/74530/4 "2021-12-22T15:22:15Z")

</div>


