# ESi authentication with Postman

**URL:** <https://forums.eveonline.com/t/esi-authentication-with-postman/451093>\
**Category:** Third Party Developers\
**Tags:** api, esi\
**Created:** [June 2, 2024, 6:22pm UTC](https://forums.eveonline.com/t/esi-authentication-with-postman/451093 "2024-06-02T18:22:34Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![Kalo\_en\_Chasteaux](https://sea1.discourse-cdn.com/eveonline/user_avatar/forums.eveonline.com/kalo_en_chasteaux/32/414751_2.png) [@Kalo\_en\_Chasteaux](https://forums.eveonline.com/u/Kalo_en_Chasteaux)\
**Post date:** [June 2, 2024, 6:22pm UTC](https://forums.eveonline.com/t/esi-authentication-with-postman/451093/1 "2024-06-02T18:22:34Z")

</div>

Greetings:

I’m trying to call the EVE ESI from [Postman]([https://www.postman.com](https://www.postman.com)]. I have successfully configured OAuth2 and can get tokens. The application is configured to support all scopes (which are filled out in my token request). However, when I make a call to a secure endpoint, I always get a 403 error returning a `{"error": "authentication failure"}`

Note that this is a 403 (Forbidden), not a 401 ( Unauthorized) error code. It seems reminiscent of the issue being described [here](https://forums.eveonline.com/t/authentication-works-but-cant-use-token-in-esi-call/332409)

Has anyone successfully configured ESI authentication to call the API from Postman?

Many thanks!

KeC

> [@Authentication works but cant use token in ESI call](https://forums.eveonline.com/t/authentication-works-but-cant-use-token-in-esi-call/332409):
>
> Hi, I’m returning to eve after a long pause and all my own tools are not working anymore so I thought I jump onto the swagger train as it’s a nice challenge. I have gotten my authentication to work with the code challenge and all the jazz and I also successfully get the token and I can verify and grab the data in that token with no issue. Now I am trying to call my first ESI call. I’ve created implementations for a status call and a character skills call just to make sure I can do unauthorized…

---

<div class="post-metadata">

**Author:** ![Tonto\_Auri](https://sea1.discourse-cdn.com/eveonline/user_avatar/forums.eveonline.com/tonto_auri/32/388339_2.png) [@Tonto\_Auri](https://forums.eveonline.com/u/Tonto_Auri)\
**Post date:** [June 3, 2024, 5:20pm UTC](https://forums.eveonline.com/t/esi-authentication-with-postman/451093/2 "2024-06-03T17:20:49Z")

</div>

> [@Kalo\_en\_Chasteaux](#):
>
> application is configured to support all scopes

That’s your issue, most likely. Don’t do that. Only request scopes you really need.

> <https://github.com/esi/esi-issues/issues/1089#issuecomment-778840884>
>
> \# Bug
> Make your application request an access token using all scopes currently …available and then use that token on any endpoint.
> 
> Make sure you are logged in to https://login.eveonline.com beforehand.
> 
> \### Request
> 
> First authorize yourself using SSOv2 and ALL scopes available.
> Then make an request to any endpoint using the token you got.
> 
> \## Response
> 
> \`{ "error": "authentication failure" }\`
> 
> \## Workaround
> 
> Just don't request all scopes. It is highly unlikely that you would need them all.
> 
> \## Expected
> 
> The output of the endpoint you are sending your request to.
> 
> \# Checklist
> 
> Check all boxes that apply to this issue:
> 
> \- \[x\] Bug description is provided
> \- \[x\] Request path is provided
> \- \[\] Response status code is provided
> \- \[\] Response headers are provided
> \- \[x\] Response body is provided
> \- \[x\] Expected response is provided

---

<div class="post-metadata">

**Author:** ![Golden\_Gnu](https://sea1.discourse-cdn.com/eveonline/user_avatar/forums.eveonline.com/golden_gnu/32/459734_2.png) [@Golden\_Gnu](https://forums.eveonline.com/u/Golden_Gnu)\
**Post date:** [June 4, 2024, 9:26am UTC](https://forums.eveonline.com/t/esi-authentication-with-postman/451093/4 "2024-06-04T09:26:09Z")

</div>

> [@Eloken\_Toralen](#):
>
> Yeah but

You should really read the issue…

---

<div class="post-metadata">

**Author:** ![Eloken\_Toralen](https://sea1.discourse-cdn.com/eveonline/user_avatar/forums.eveonline.com/eloken_toralen/32/401714_2.png) [@Eloken\_Toralen](https://forums.eveonline.com/u/Eloken_Toralen)\
**Post date:** [June 4, 2024, 11:02am UTC](https://forums.eveonline.com/t/esi-authentication-with-postman/451093/5 "2024-06-04T11:02:02Z")

</div>

Yeah you are probably right. Ignore previous comment.

---

<div class="post-metadata">

**Author:** ![Kalo\_en\_Chasteaux](https://sea1.discourse-cdn.com/eveonline/user_avatar/forums.eveonline.com/kalo_en_chasteaux/32/414751_2.png) [@Kalo\_en\_Chasteaux](https://forums.eveonline.com/u/Kalo_en_Chasteaux)\
**Post date:** [June 5, 2024, 4:49pm UTC](https://forums.eveonline.com/t/esi-authentication-with-postman/451093/6 "2024-06-05T16:49:17Z")

</div>

Thank you, this indeed seems to be the issue. To be clear, I can configure all scopes on the application in the developper portal, but then only specify the scopes I need when I request the token.

---

<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:** [September 3, 2024, 4:49pm UTC](https://forums.eveonline.com/t/esi-authentication-with-postman/451093/7 "2024-09-03T16:49:33Z")

</div>

Closed on September 3, 2024, 4:49pm UTC

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