# Information on changes to ESI for Third Party Applications

**URL:** <https://forums.eveonline.com/t/information-on-changes-to-esi-for-third-party-applications/334081>\
**Category:** Third Party Developers\
**Tags:** esi, devblog, official\
**Created:** [October 25, 2021, 5:47pm UTC](https://forums.eveonline.com/t/information-on-changes-to-esi-for-third-party-applications/334081 "2021-10-25T17:47:10Z")\
**Posts on this page:** 20\
**Page:** 1

<div class="post-metadata">

**Author:** ![FC\_Convict](https://sea1.discourse-cdn.com/eveonline/user_avatar/forums.eveonline.com/fc_convict/32/451520_2.png) [@FC\_Convict](https://forums.eveonline.com/u/FC_Convict)\
**Post date:** [October 25, 2021, 5:47pm UTC](https://forums.eveonline.com/t/information-on-changes-to-esi-for-third-party-applications/334081/1 "2021-10-25T17:47:10Z")

</div>

Today some changes to ESI were deployed, which may have caused some issues with third party applications that were not up to date. Although these changes were announced in a dev blog earlier this month, due to issues with the [developers.eveonline.com](http://developers.eveonline.com) website rendering blogs inaccessible it may not have been properly communicated to all third party developers and we apologise for this. We have had reports from players for some third party applications failing, so we are reproducing the contents of the blog here for developers:

* * *

**UPDATE:** Due to a case of PEBCAK I reproduced the wrong blog in OP. The change deployed today affected a different aspect of ESI. The information originally posted on [developers.eveonline.com](http://developers.eveonline.com) pertaining to today’s deployment follows:

> On 30 July 2020 in the [ESI changelog](https://github.com/esi/esi-issues/blob/master/changelog.md) we announced the deprecation of v4 version characters/{character\_id}&nbsp; ESI route on 15 September and subsequent removal on 21 September. Unfortunately we still see heavy traffic hitting that route which as of now has legacy status. Accordingly we've decided to postpone the (admittedly quite abrupt) removal. Its been rescheduled and now it will happen on 21st October 2021.&nbsp; Please spread that information if you know any developer that might not follow changelog and/or Tweetfleet.

Please visit [https://github.com/esi/esi-issues/blob/master/changelog.md](https://github.com/esi/esi-issues/blob/master/changelog.md) for more details.

However the originally reproduced dev blog below is also scheduled to take place on 1 November for your information:

* * *

### Deprecating obsolete endpoints

The old OAuth endpoints `oauth/authorize`, `oauth/token` and `oauth/verify` will be deprecated. You should move your application over to `v2/oauth/authorize` and `v2/oauth/token` instead. The `oauth/verify` endpoint will also be deprecated, since the v2 endpoints return a JWT token, enabling your applications to validate the JWT tokens without having to make a request to the SSO for each token. Applications can fetch the required EVE SSO metadata from [https://login.eveonline.com/.well-known/oauth-authorization-server](https://login.eveonline.com/.well-known/oauth-authorization-server) to be able to validate JWT token signatures client-side.

### What about our old refresh tokens?

Existing applications can do a **one-way-upgrade** on their existing refresh tokens by sending them to the `v2/oauth/token` instead of `oauth/token` endpoint to upgrade them to v2 tokens. Make sure to replace the stored refresh token with the one returned in the response! Once an old refresh token is upgraded to a v2 token, the old token is invalidated and no longer usable. **This upgrade mechanism will only be active for two weeks after the release.**

You can tell the new refresh tokens apart from the old ones as they are a 24 character strings (16 bytes Base64 encoded).

V2 Refresh token example: `MDEyMzQ1Njc4OWFiY2RlZg==`

### Stricter OAuth conformance

Developers will need to follow the OAuth specification more closely when sending data to the SSO token endpoint. In short, to ensure that your application continues to work with the EVE SSO, you should follow the [official EVE SSO guidelines](https://docs.esi.evetech.net/docs/sso).

Here are some important points to be aware of:

- Native/mobile applications should use the PKCE flow as [described here](https://docs.esi.evetech.net/docs/sso/native_sso_flow.html).
- Web/server-side applications should use the authorization code flow as [described here](https://docs.esi.evetech.net/docs/sso/web_based_sso_flow.html).
- The `v2/oauth/token` endpoint will no longer accept data sent as a JSON payload or as a URL query. Data must be sent to the endpoint with `Content-Type: application/x-www-form-urlencoded` and encoded as such in accordance with [Section 4.1.3 in OAuth RFC (6749)](https://datatracker.ietf.org/doc/html/rfc6749#section-4.1.3).

**Correct:**

`POST v2/oauth/token HTTP/1.1
	Host: login.eveonline.com
	Content-Type: application/x-www-form-urlencoded`

`client_id=someawesomeclient&grant_type=authorization_code&code=exampleauthorizationcode&code_verifier=codeverifier&redirect_uri=https%3A%2F%2Fmy3rdpartyapp%2Fauth%2Fcallback`

**Incorrect - Data sent as a JSON payload:**

`POST v2/oauth/token HTTP/1.1
	Host: login.eveonline.com
	Content-Type: application/json`

`{ "client_id":"someawesomeclient","grant_type":"authorization_code","code":"exampleauthorizationcode","code_verifier":"codeverifier","redirect_uri":"https://my3rdpartyapp/authþ/callback"}`

**Incorrect - data sent as a querystring:**

`POST v2/oauth/token?client_id=someawesomeclient&grant_type=authorization_code&code=exampleauthorizationcode&code_verifier=codeverifier&redirect_uri=https%3A%2F%2Fmy3rdpartyapp%2Fauth%2Fcallback HTTP/1.1
	Host: login.eveonline.com`

### Use a standardized OAuth JWT validation library

Developers should use a standard OAuth JWT validation library to be prepared for upcoming changes in the SSO such as different JWT signature methods. Libraries exist for pretty much all programming languages out there. See [JWT.IO](https://jwt.io/) for more information and an SDK for your programming language of choice!

### Prepare for refresh token rotations

Developers have until now been able to safely assume that their stored refresh tokens will never change. This will no longer be the case, so developers should assume that the refresh token MIGHT change when it is refreshed and update it when needed.

### Rate limits for failed requests

We'll be introducing a rate-limiter that will kick in when an application exceeds a certain threshold of failed requests. When it is triggered a [429 Too Many Requests](https://developer.mozilla.org/en-US/docs/Web/HTTP/Status/429) response will be returned. This is to encourage developers to clear old/invalid refresh tokens from their databases as well as make sure their applications are well tested and conform to the OAuth specification. Applications that repeatedly trigger the rate-limiting and don't respect the `Retry-After` header might get their applications blocked by the EVE SSO for API Abuse and require a support ticket to be reopened

---

<div class="post-metadata">

**Author:** ![FC\_Convict](https://sea1.discourse-cdn.com/eveonline/user_avatar/forums.eveonline.com/fc_convict/32/451520_2.png) [@FC\_Convict](https://forums.eveonline.com/u/FC_Convict)\
**Post date:** [October 25, 2021, 6:08pm UTC](https://forums.eveonline.com/t/information-on-changes-to-esi-for-third-party-applications/334081/2 "2021-10-25T18:08:43Z")

</div>

Pinned on October 25, 2021, 6:08pm UTC



---

<div class="post-metadata">

**Author:** ![Squizz\_Caphinator](https://sea1.discourse-cdn.com/eveonline/user_avatar/forums.eveonline.com/squizz_caphinator/32/454109_2.png) [@Squizz\_Caphinator](https://forums.eveonline.com/u/Squizz_Caphinator)\
**Post date:** [October 25, 2021, 6:24pm UTC](https://forums.eveonline.com/t/information-on-changes-to-esi-for-third-party-applications/334081/3 "2021-10-25T18:24:21Z")

</div>

> Developers have until now been able to safely assume that their stored refresh tokens will never change. This will no longer be the case, so developers should assume that the refresh token MIGHT change when it is refreshed and update it when needed.

How resilient will this be? Will the old refresh\_token be immediately invalidated, or will calls that happen within the same second be OK (or fail)?

---

<div class="post-metadata">

**Author:** ![Erich\_Benford](https://sea1.discourse-cdn.com/eveonline/user_avatar/forums.eveonline.com/erich_benford/32/293737_2.png) [@Erich\_Benford](https://forums.eveonline.com/u/Erich_Benford)\
**Post date:** [October 25, 2021, 6:25pm UTC](https://forums.eveonline.com/t/information-on-changes-to-esi-for-third-party-applications/334081/4 "2021-10-25T18:25:12Z")

</div>

Given no effective notice, the magnitude of changes required to utilize the new endpoints, convert tokens and deploy to many installations, is it possible to rollback the change for 60 days?

---

<div class="post-metadata">

**Author:** ![Erik\_Kalkoken](https://sea1.discourse-cdn.com/eveonline/user_avatar/forums.eveonline.com/erik_kalkoken/32/520407_2.png) [@Erik\_Kalkoken](https://forums.eveonline.com/u/Erik_Kalkoken)\
**Post date:** [October 25, 2021, 6:34pm UTC](https://forums.eveonline.com/t/information-on-changes-to-esi-for-third-party-applications/334081/5 "2021-10-25T18:34:38Z")

</div>

> Today some changes to ESI were deployed which may have caused some issues with SSO for third party applications that were not up to date.

Can you please by more specific? Are saying that the SSO v1 token have not already been deprecated, 1 week ahead of the original schedule?

---

<div class="post-metadata">

**Author:** ![FC\_Convict](https://sea1.discourse-cdn.com/eveonline/user_avatar/forums.eveonline.com/fc_convict/32/451520_2.png) [@FC\_Convict](https://forums.eveonline.com/u/FC_Convict)\
**Post date:** [October 25, 2021, 6:35pm UTC](https://forums.eveonline.com/t/information-on-changes-to-esi-for-third-party-applications/334081/6 "2021-10-25T18:35:21Z")

</div>

I mistakenly reproduced the wrong blog in OP but I have updated it with the correct notification that was originally provided on [developers.eveonline.com](http://developers.eveonline.com) earlier this month. I have left the reproduction of the other blog underneath.

---

<div class="post-metadata">

**Author:** ![Steve\_Ronuken](https://sea1.discourse-cdn.com/eveonline/user_avatar/forums.eveonline.com/steve_ronuken/32/373894_2.png) [@Steve\_Ronuken](https://forums.eveonline.com/u/Steve_Ronuken)\
**Post date:** [October 25, 2021, 6:38pm UTC](https://forums.eveonline.com/t/information-on-changes-to-esi-for-third-party-applications/334081/7 "2021-10-25T18:38:11Z")

</div>

This time, it’s the v4 character endpoint which has been disabled. not Oauth. (that’s still going to be a concern come november)

---

<div class="post-metadata">

**Author:** ![FC\_Convict](https://sea1.discourse-cdn.com/eveonline/user_avatar/forums.eveonline.com/fc_convict/32/451520_2.png) [@FC\_Convict](https://forums.eveonline.com/u/FC_Convict)\
**Post date:** [October 25, 2021, 6:52pm UTC](https://forums.eveonline.com/t/information-on-changes-to-esi-for-third-party-applications/334081/8 "2021-10-25T18:52:49Z")

</div>

Unpinned on October 25, 2021, 6:52pm UTC



---

<div class="post-metadata">

**Author:** ![CCP\_Explorer](https://sea1.discourse-cdn.com/eveonline/user_avatar/forums.eveonline.com/ccp_explorer/32/385081_2.png) [@CCP\_Explorer](https://forums.eveonline.com/u/CCP_Explorer)\
**Post date:** [October 25, 2021, 7:13pm UTC](https://forums.eveonline.com/t/information-on-changes-to-esi-for-third-party-applications/334081/9 "2021-10-25T19:13:59Z")

</div>

To confirm, the only change made today (after delays) was the removal of /v4/characters/  
{character\_id}.

---

<div class="post-metadata">

**Author:** ![FC\_Convict](https://sea1.discourse-cdn.com/eveonline/user_avatar/forums.eveonline.com/fc_convict/32/451520_2.png) [@FC\_Convict](https://forums.eveonline.com/u/FC_Convict)\
**Post date:** [October 25, 2021, 7:26pm UTC](https://forums.eveonline.com/t/information-on-changes-to-esi-for-third-party-applications/334081/10 "2021-10-25T19:26:36Z")

</div>

OP updated to remove references to SSO with today’s update.

---

<div class="post-metadata">

**Author:** ![Zhalyd\_Lyehin](https://sea1.discourse-cdn.com/eveonline/user_avatar/forums.eveonline.com/zhalyd_lyehin/32/358574_2.png) [@Zhalyd\_Lyehin](https://forums.eveonline.com/u/Zhalyd_Lyehin)\
**Post date:** [October 25, 2021, 7:35pm UTC](https://forums.eveonline.com/t/information-on-changes-to-esi-for-third-party-applications/334081/11 "2021-10-25T19:35:24Z")

</div>

> [@FC\_Convict](#):
>
> This is to encourage developers to clear old/invalid refresh tokens from their databases as well as make sure their applications are well tested and conform to the OAuth specification.

Would CCP please kindly take these words at heart for _their own_ applications and developments? If not, can we please have a rate limiter for bad features per month?

---

<div class="post-metadata">

**Author:** ![Keldek](https://sea1.discourse-cdn.com/eveonline/user_avatar/forums.eveonline.com/keldek/32/293126_2.png) [@Keldek](https://forums.eveonline.com/u/Keldek)\
**Post date:** [October 26, 2021, 1:27am UTC](https://forums.eveonline.com/t/information-on-changes-to-esi-for-third-party-applications/334081/12 "2021-10-26T01:27:24Z")

</div>

When will developer registration be fixed? It’s been broken for well over a week now, and you’ve barely even acknowledged the issue, let alone any timeline for it being resolved.

---

<div class="post-metadata">

**Author:** ![CCP\_Explorer](https://sea1.discourse-cdn.com/eveonline/user_avatar/forums.eveonline.com/ccp_explorer/32/385081_2.png) [@CCP\_Explorer](https://forums.eveonline.com/u/CCP_Explorer)\
**Post date:** [October 26, 2021, 9:12am UTC](https://forums.eveonline.com/t/information-on-changes-to-esi-for-third-party-applications/334081/13 "2021-10-26T09:12:03Z")

</div>

Please also note the ESI changelog here [esi-issues/changelog.md at master · esi/esi-issues · GitHub](https://github.com/esi/esi-issues/blob/master/changelog.md)

---

<div class="post-metadata">

**Author:** ![Filo\_Fin\_Fain](https://sea1.discourse-cdn.com/eveonline/user_avatar/forums.eveonline.com/filo_fin_fain/32/319634_2.png) [@Filo\_Fin\_Fain](https://forums.eveonline.com/u/Filo_Fin_Fain)\
**Post date:** [October 26, 2021, 5:23pm UTC](https://forums.eveonline.com/t/information-on-changes-to-esi-for-third-party-applications/334081/14 "2021-10-26T17:23:42Z")

</div>

Any timeline on a fix for this CCP?

---

<div class="post-metadata">

**Author:** ![CCP\_Aurora](https://sea1.discourse-cdn.com/eveonline/user_avatar/forums.eveonline.com/ccp_aurora/32/394780_2.png) [@CCP\_Aurora](https://forums.eveonline.com/u/CCP_Aurora)\
**Post date:** [October 27, 2021, 4:27pm UTC](https://forums.eveonline.com/t/information-on-changes-to-esi-for-third-party-applications/334081/15 "2021-10-27T16:27:31Z")

</div>

Hi there - we are aware that developer registration is still down at the moment.

The problem is being looked into, we’ll post updates as we know more.

---

<div class="post-metadata">

**Author:** ![Lukas\_Nemec](https://sea1.discourse-cdn.com/eveonline/user_avatar/forums.eveonline.com/lukas_nemec/32/294315_2.png) [@Lukas\_Nemec](https://forums.eveonline.com/u/Lukas_Nemec)\
**Post date:** [October 28, 2021, 7:35am UTC](https://forums.eveonline.com/t/information-on-changes-to-esi-for-third-party-applications/334081/17 "2021-10-28T07:35:45Z")

</div>

There is a bug with 1 scope not working at all (can’t tell if any other scopes may be affected) after this change: [esi-universe.read\_structures.v1 scope not working · Issue #1302 · esi/esi-issues · GitHub](https://github.com/esi/esi-issues/issues/1302)

Or maybe the scope got renamed and its not updated everywhere?  
🙏

---

<div class="post-metadata">

**Author:** ![Filo\_Fin\_Fain](https://sea1.discourse-cdn.com/eveonline/user_avatar/forums.eveonline.com/filo_fin_fain/32/319634_2.png) [@Filo\_Fin\_Fain](https://forums.eveonline.com/u/Filo_Fin_Fain)\
**Post date:** [November 2, 2021, 12:44pm UTC](https://forums.eveonline.com/t/information-on-changes-to-esi-for-third-party-applications/334081/18 "2021-11-02T12:44:04Z")

</div>

Please. It’s been weeks. Cart before horse kind of situation here. Can’t even consider new ESI implementation without access as a developer.

---

<div class="post-metadata">

**Author:** ![Neugeniko](https://sea1.discourse-cdn.com/eveonline/user_avatar/forums.eveonline.com/neugeniko/32/382909_2.png) [@Neugeniko](https://forums.eveonline.com/u/Neugeniko)\
**Post date:** [November 2, 2021, 1:34pm UTC](https://forums.eveonline.com/t/information-on-changes-to-esi-for-third-party-applications/334081/19 "2021-11-02T13:34:09Z")

</div>

Is there something like a esipy module for python that works with the new changes?

---

<div class="post-metadata">

**Author:** ![Hans\_Devin](https://sea1.discourse-cdn.com/eveonline/user_avatar/forums.eveonline.com/hans_devin/32/520045_2.png) [@Hans\_Devin](https://forums.eveonline.com/u/Hans_Devin)\
**Post date:** [November 12, 2021, 2:13am UTC](https://forums.eveonline.com/t/information-on-changes-to-esi-for-third-party-applications/334081/20 "2021-11-12T02:13:07Z")

</div>

It appears the Pathfinder was effected. My Corp and myself use Pathfinder extensively and it (Pathfinder) is blocking logins. This is the type of stuff that is ruinous to reputations and confidence.

---

<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:** [November 12, 2021, 2:18am UTC](https://forums.eveonline.com/t/information-on-changes-to-esi-for-third-party-applications/334081/21 "2021-11-12T02:18:20Z")

</div>

See [Pathfinder v2.4.1 : evetech](https://pr.reddit.com/r/evetech/comments/qghz1q/pathfinder_v241/).

[Next page](https://forums.eveonline.com/t/information-on-changes-to-esi-for-third-party-applications/334081.md?page=2)
