# Failing OAuth tokens since August

**URL:** https://stack.deel.com/t/failing-oauth-tokens-since-august/54
**Category:** Bug Reports
**Tags:** oauth
**Created:** [September 5, 2024, 1:35pm UTC](https://stack.deel.com/t/failing-oauth-tokens-since-august/54 "2024-09-05T13:35:06Z")
**Posts on this page:** 14
**Page:** 1

<div class="post-metadata">

### Author: ![Kombo](https://avatars.discourse-cdn.com/v4/letter/k/8e7dd6/32.png) [@Kombo](https://stack.deel.com/u/Kombo)
#### Post date: [September 5, 2024, 1:35pm UTC](https://stack.deel.com/t/failing-oauth-tokens-since-august/54/1 "2024-09-05T13:35:06Z")

</div>

We recently started having issues with our existing OAuth connections expiring. This happened for customers connected via our partner credentials and the partner credentials of our customers.

There isn’t a clear time or pattern to the invalid tokens, but at some (not the same) point in the last month nearly all accounts invalidated. Some of them have only connected the previous month, so they are even outside the refresh token TTL of 90 days.

---

<div class="post-metadata">

### Author: ![Khizar\_Deel](https://avatars.discourse-cdn.com/v4/letter/k/e9a140/32.png) [@Khizar\_Deel](https://stack.deel.com/u/Khizar_Deel)
#### Post date: [September 5, 2024, 2:57pm UTC](https://stack.deel.com/t/failing-oauth-tokens-since-august/54/2 "2024-09-05T14:57:34Z")

</div>

Hi there! I’m sorry to hear about this. We had an issue that might have affected your customers. Can you please raise a support ticket with more details and we will investigate this on priority.

---

<div class="post-metadata">

### Author: ![Kombo](https://avatars.discourse-cdn.com/v4/letter/k/8e7dd6/32.png) [@Kombo](https://stack.deel.com/u/Kombo)
#### Post date: [September 5, 2024, 4:43pm UTC](https://stack.deel.com/t/failing-oauth-tokens-since-august/54/3 "2024-09-05T16:43:30Z")

</div>

Hi Khizar! I did reach out to our contact at Deel but got referred to this platform to raise the issue. Where can I create a support ticket? The urgency is fairly high, as quite a few customers are affected.

---

<div class="post-metadata">

### Author: ![Cassy\_Deel](https://yyz1.discourse-cdn.com/flex003/user_avatar/stack.deel.com/cassy_deel/32/5_2.png) [@Cassy\_Deel](https://stack.deel.com/u/Cassy_Deel)
#### Post date: [September 5, 2024, 6:19pm UTC](https://stack.deel.com/t/failing-oauth-tokens-since-august/54/5 "2024-09-05T18:19:27Z")

</div>

Hi @Kombo, happy to point you in the right direction!  
You can submit a support ticket directly from the Developer Center.  
Simply:

1. Navigate to Apps & Integrations \> Developer Center.
2. Click on “Help & Feedback” to access support options.
3. Submit a ticket by clicking “Contact Support” or use live chat by clicking “Help Live Chat”.

 ![image](https://canada1.discourse-cdn.com/flex003/uploads/deel_developer/original/1X/23468cdec5bef3c58e02ac74b58ca82606e6b286.jpeg)

Thanks so much, and let us know if you have any further questions on this!

---

<div class="post-metadata">

### Author: ![Kombo](https://avatars.discourse-cdn.com/v4/letter/k/8e7dd6/32.png) [@Kombo](https://stack.deel.com/u/Kombo)
#### Post date: [September 6, 2024, 8:01pm UTC](https://stack.deel.com/t/failing-oauth-tokens-since-august/54/6 "2024-09-06T20:01:49Z")

</div>

Hi @Cassy_Deel, we unfortunately do not have the “Help & Feedback” button in our instance. Is there some other way we could get support on this issue?

Today we had another customer report difficulty when connecting their Deel instance, in the OAuth flow of Deel they received the following response, unfortunately I don’t have more details on this at this time.

 ![image](https://canada1.discourse-cdn.com/flex003/uploads/deel_developer/original/1X/a31ce8d014bfc6cb6c68c747639d9db986cbb85c.png)

---

<div class="post-metadata">

### Author: ![erin\_harvest](https://avatars.discourse-cdn.com/v4/letter/e/df705f/32.png) [@erin\_harvest](https://stack.deel.com/u/erin_harvest)
#### Post date: [September 6, 2024, 10:07pm UTC](https://stack.deel.com/t/failing-oauth-tokens-since-august/54/7 "2024-09-06T22:07:01Z")

</div>

we are also having a similar issue. our refresh\_token seems to be invalid, and we cannot refresh tokens once expired. perhaps it has the same expiration as the access token?

---

<div class="post-metadata">

### Author: ![Dmytro\_Deel](https://avatars.discourse-cdn.com/v4/letter/d/c77e96/32.png) [@Dmytro\_Deel](https://stack.deel.com/u/Dmytro_Deel)
#### Post date: [September 9, 2024, 1:02pm UTC](https://stack.deel.com/t/failing-oauth-tokens-since-august/54/8 "2024-09-09T13:02:05Z")

</div>

Hello @Kombo , @erin_harvest yes we had an issue couple of weeks ago with refresh token TTL, could you please generate new tokens with consent? If you will create new oauth2 token it will have access\_token - 30 days and refresh\_token - 90 days

---

<div class="post-metadata">

### Author: ![Kombo](https://avatars.discourse-cdn.com/v4/letter/k/8e7dd6/32.png) [@Kombo](https://stack.deel.com/u/Kombo)
#### Post date: [September 10, 2024, 7:08pm UTC](https://stack.deel.com/t/failing-oauth-tokens-since-august/54/9 "2024-09-10T19:08:17Z")

</div>

Got it, thanks for the update! I asked the customers to reconnect their accounts.

Could you also get back to me on the screenshot I shared? The customer tried to connect again today, but the connection attempt failed.

---

<div class="post-metadata">

### Author: ![Dmytro\_Deel](https://avatars.discourse-cdn.com/v4/letter/d/c77e96/32.png) [@Dmytro\_Deel](https://stack.deel.com/u/Dmytro_Deel)
#### Post date: [September 11, 2024, 8:09am UTC](https://stack.deel.com/t/failing-oauth-tokens-since-august/54/10 "2024-09-11T08:09:39Z")

</div>

Morning @Kombo , is there any details under **Technical details**? Sometimes it can happen when user provides incorrect scopes for the token, could you please share scopes?

---

<div class="post-metadata">

### Author: ![Kombo](https://avatars.discourse-cdn.com/v4/letter/k/8e7dd6/32.png) [@Kombo](https://stack.deel.com/u/Kombo)
#### Post date: [September 12, 2024, 1:58pm UTC](https://stack.deel.com/t/failing-oauth-tokens-since-august/54/11 "2024-09-12T13:58:29Z")

</div>

Hey @Dmytro_Deel.

The technical details only list:

- Unauthorized

The scopes we are requesting are:  
`organizations:read`  
`people:read`  
`Users:read`

---

<div class="post-metadata">

### Author: ![Dmytro\_Deel](https://avatars.discourse-cdn.com/v4/letter/d/c77e96/32.png) [@Dmytro\_Deel](https://stack.deel.com/u/Dmytro_Deel)
#### Post date: [September 16, 2024, 7:12am UTC](https://stack.deel.com/t/failing-oauth-tokens-since-august/54/12 "2024-09-16T07:12:44Z")

</div>

Hello @Kombo could you please send me application name?

---

<div class="post-metadata">

### Author: ![Kombo](https://avatars.discourse-cdn.com/v4/letter/k/8e7dd6/32.png) [@Kombo](https://stack.deel.com/u/Kombo)
#### Post date: [September 16, 2024, 6:23pm UTC](https://stack.deel.com/t/failing-oauth-tokens-since-august/54/13 "2024-09-16T18:23:35Z")

</div>

Hi @Dmytro_Deel, the application name is “Kombo”.

---

<div class="post-metadata">

### Author: ![Kombo](https://avatars.discourse-cdn.com/v4/letter/k/8e7dd6/32.png) [@Kombo](https://stack.deel.com/u/Kombo)
#### Post date: [September 19, 2024, 7:27am UTC](https://stack.deel.com/t/failing-oauth-tokens-since-august/54/14 "2024-09-19T07:27:36Z")

</div>

Hey @Dmytro_Deel, any updates here? The Deel user is getting frustrated that they are unable to use the oauth flow

---

<div class="post-metadata">

### Author: ![Dmytro\_Deel](https://avatars.discourse-cdn.com/v4/letter/d/c77e96/32.png) [@Dmytro\_Deel](https://stack.deel.com/u/Dmytro_Deel)
#### Post date: [September 20, 2024, 4:12pm UTC](https://stack.deel.com/t/failing-oauth-tokens-since-august/54/15 "2024-09-20T16:12:19Z")

</div>

Hello @Kombo sorry for late responses, I’ve checked logs for your Application and I see that some of your customers trying to create consent of your application with incorrect roles. Only ORGANIZATION\_ADMIN, IT\_DEVELOPER\_ADMIN, INTEGRATIONS\_ADMIN\_PEOPLE are available.
