# Auth not working

**URL:** <https://community.hubspot.com/t/auth-not-working/32546>\
**Category:** APIs & Integrations\
**Tags:** oauth\
**Created:** [March 2, 2021, 4:59pm UTC](https://community.hubspot.com/t/auth-not-working/32546 "2021-03-02T16:59:02Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![vikram-mit](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/vikram-mit/32/39641_2.png) [@vikram-mit](https://community.hubspot.com/u/vikram-mit)\
**Post date:** [March 2, 2021, 4:59pm UTC](https://community.hubspot.com/t/auth-not-working/32546/1 "2021-03-02T16:59:02Z")

</div>

i created a new app which generated the below url

[https://app.hubspot.com/oauth/authorize?client\_id=b54011b0-dae7-4ec1-a898-c08a7f7921cb&redirect\_uri=https://flashcx.ai&scope=contacts%20tickets](https://app.hubspot.com/oauth/authorize?client_id=b54011b0-dae7-4ec1-a898-c08a7f7921cb&redirect_uri=https://flashcx.ai&scope=contacts%20tickets)

but if i click on this URL it takes me to a hubspot instance and then just keep showing a loading spinner.

it does not redirect me to the redirect URL or shows the stand permissions dialog etc.

---

<div class="post-metadata">

**Author:** ![dennisedson](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/dennisedson/32/28044_2.png) [@dennisedson](https://community.hubspot.com/u/dennisedson)\
**Post date:** [March 3, 2021, 9:20pm UTC](https://community.hubspot.com/t/auth-not-working/32546/2 "2021-03-03T21:20:43Z")

</div>

Hey @vikram-mit

The end of that url is suspicious. 🤔

Don’t think you want that space between you two scope requests.

---

<div class="post-metadata">

**Author:** ![vikram-mit](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/vikram-mit/32/39641_2.png) [@vikram-mit](https://community.hubspot.com/u/vikram-mit)\
**Post date:** [March 3, 2021, 9:24pm UTC](https://community.hubspot.com/t/auth-not-working/32546/3 "2021-03-03T21:24:56Z")

</div>

well i didnt change anything but after sometime it started to work on its own

---

<div class="post-metadata">

**Author:** ![dennisedson](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/dennisedson/32/28044_2.png) [@dennisedson](https://community.hubspot.com/u/dennisedson)\
**Post date:** [March 3, 2021, 9:27pm UTC](https://community.hubspot.com/t/auth-not-working/32546/4 "2021-03-03T21:27:32Z")

</div>

@vikram-mit , cool. I clicked the link you had above and it did not work, but updating the link to include %20 between the scopes instead of the space did work 😀. Long URL. easy to miss
