# Do not refresh token

**URL:** <https://forums.eveonline.com/t/do-not-refresh-token/349596>\
**Category:** Third Party Developers\
**Created:** [February 12, 2022, 12:37pm UTC](https://forums.eveonline.com/t/do-not-refresh-token/349596 "2022-02-12T12:37:28Z")\
**Posts on this page:** 10\
**Page:** 1

<div class="post-metadata">

**Author:** ![Astra\_Agnon](https://sea1.discourse-cdn.com/eveonline/user_avatar/forums.eveonline.com/astra_agnon/32/393450_2.png) [@Astra\_Agnon](https://forums.eveonline.com/u/Astra_Agnon)\
**Post date:** [February 12, 2022, 12:37pm UTC](https://forums.eveonline.com/t/do-not-refresh-token/349596/1 "2022-02-12T12:37:28Z")

</div>

I had a “pleasant” surprise waiting for me this morning. For reasons I don’t understand, all the tokens became inoperable. Even those that I received 2 minutes before refresh token. Some kind of work is being done by ESI server. If so, is there any way to inform about it?

---

<div class="post-metadata">

**Author:** ![Lass\_Suicide](https://sea1.discourse-cdn.com/eveonline/user_avatar/forums.eveonline.com/lass_suicide/32/383408_2.png) [@Lass\_Suicide](https://forums.eveonline.com/u/Lass_Suicide)\
**Post date:** [February 12, 2022, 12:48pm UTC](https://forums.eveonline.com/t/do-not-refresh-token/349596/2 "2022-02-12T12:48:21Z")

</div>

All your tokens?  
If u change password, then all tokens are broke (for secure)

I check my tokens for some accounts - then work fine.

---

<div class="post-metadata">

**Author:** ![Astra\_Agnon](https://sea1.discourse-cdn.com/eveonline/user_avatar/forums.eveonline.com/astra_agnon/32/393450_2.png) [@Astra\_Agnon](https://forums.eveonline.com/u/Astra_Agnon)\
**Post date:** [February 12, 2022, 1:02pm UTC](https://forums.eveonline.com/t/do-not-refresh-token/349596/3 "2022-02-12T13:02:48Z")

</div>

i do not change password, but all token is expared

---

<div class="post-metadata">

**Author:** ![Astra\_Agnon](https://sea1.discourse-cdn.com/eveonline/user_avatar/forums.eveonline.com/astra_agnon/32/393450_2.png) [@Astra\_Agnon](https://forums.eveonline.com/u/Astra_Agnon)\
**Post date:** [February 12, 2022, 1:10pm UTC](https://forums.eveonline.com/t/do-not-refresh-token/349596/4 "2022-02-12T13:10:14Z")

</div>

405 error

---

<div class="post-metadata">

**Author:** ![Lass\_Suicide](https://sea1.discourse-cdn.com/eveonline/user_avatar/forums.eveonline.com/lass_suicide/32/383408_2.png) [@Lass\_Suicide](https://forums.eveonline.com/u/Lass_Suicide)\
**Post date:** [February 12, 2022, 3:03pm UTC](https://forums.eveonline.com/t/do-not-refresh-token/349596/5 "2022-02-12T15:03:52Z")

</div>

> _405_ Method Not Allowed

Maybe u r use POST instead GET, or something like this

---

<div class="post-metadata">

**Author:** ![Astra\_Agnon](https://sea1.discourse-cdn.com/eveonline/user_avatar/forums.eveonline.com/astra_agnon/32/393450_2.png) [@Astra\_Agnon](https://forums.eveonline.com/u/Astra_Agnon)\
**Post date:** [February 12, 2022, 3:49pm UTC](https://forums.eveonline.com/t/do-not-refresh-token/349596/6 "2022-02-12T15:49:30Z")

</div>

stdClass Object

(

```
[error] => invalid_grant

[error_description] => Invalid refresh token. Unable to migrate grant.

```

)  
i use POST. one character - OK, other have problem

---

<div class="post-metadata">

**Author:** ![Blacksmoke16](https://sea1.discourse-cdn.com/eveonline/user_avatar/forums.eveonline.com/blacksmoke16/32/376589_2.png) [@Blacksmoke16](https://forums.eveonline.com/u/Blacksmoke16)\
**Post date:** [February 12, 2022, 4:45pm UTC](https://forums.eveonline.com/t/do-not-refresh-token/349596/7 "2022-02-12T16:45:58Z")

</div>

This sounds like the tokens couldn’t be migrated to new v2 OAuth endpoints. I’d ensure you’re using the v2 routes as per [SSO Endpoint Deprecations - EVE: Developers](https://developers.eveonline.com/blog/article/sso-endpoint-deprecations-2).

---

<div class="post-metadata">

**Author:** ![Astra\_Agnon](https://sea1.discourse-cdn.com/eveonline/user_avatar/forums.eveonline.com/astra_agnon/32/393450_2.png) [@Astra\_Agnon](https://forums.eveonline.com/u/Astra_Agnon)\
**Post date:** [February 12, 2022, 7:31pm UTC](https://forums.eveonline.com/t/do-not-refresh-token/349596/8 "2022-02-12T19:31:16Z")

</div>

im use [https://login.eveonline.com/v2/oauth/token](https://login.eveonline.com/v2/oauth/token)"]([https://login.eveonline.com/v2/oauth/token](https://login.eveonline.com/v2/oauth/token).  
Re-launched 3 characters, got the update token about an hour and again stopped updating only one.

---

<div class="post-metadata">

**Author:** ![Raph\_Mendoza](https://sea1.discourse-cdn.com/eveonline/user_avatar/forums.eveonline.com/raph_mendoza/32/242641_2.png) [@Raph\_Mendoza](https://forums.eveonline.com/u/Raph_Mendoza)\
**Post date:** [February 13, 2022, 12:14pm UTC](https://forums.eveonline.com/t/do-not-refresh-token/349596/9 "2022-02-13T12:14:12Z")

</div>

Maybe the refresh tokens got changed when you are refreshing the first time. From reading the esi documentation, there is a note at the end about this.

[https://docs.esi.evetech.net/docs/sso/refreshing\_access\_tokens.html](https://docs.esi.evetech.net/docs/sso/refreshing_access_tokens.html)

---

<div class="post-metadata">

**Author:** ![system](https://global.discourse-cdn.com/eveonline/original/3X/4/1/41ec4921cbaca7a6f9ea556e7cc20018461eae5e.png) [@system](https://forums.eveonline.com/u/system)\
**Post date:** [May 14, 2022, 3:53pm UTC](https://forums.eveonline.com/t/do-not-refresh-token/349596/11 "2022-05-14T15:53:06Z")

</div>

Closed on May 14, 2022, 3:53pm UTC

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.
