# Using new ESI

**URL:** <https://forums.eveonline.com/t/using-new-esi/61481>\
**Category:** Third Party Developers\
**Created:** [March 6, 2018, 8:51pm UTC](https://forums.eveonline.com/t/using-new-esi/61481 "2018-03-06T20:51:23Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![Doris\_Avali](https://sea1.discourse-cdn.com/eveonline/user_avatar/forums.eveonline.com/doris_avali/32/58316_2.png) [@Doris\_Avali](https://forums.eveonline.com/u/Doris_Avali)\
**Post date:** [March 6, 2018, 8:51pm UTC](https://forums.eveonline.com/t/using-new-esi/61481/1 "2018-03-06T20:51:24Z")

</div>

Hi there,

I am currently building a forum for an alliance, i would like the login to use the eve-online account login as many 3rd party apps and other forums i have previously used do. So that the backend can pull the data as to character and corporation and alliance info…

Reason is so that if they are part of the alliance they get regular access to the forum. If they are not then the account would be restricted to just a few public sections and a recruitment section.

Is there an easy way of doing this using web modules linking to ESI?  
As the ESI links provided on the site dont seem to work…

Many thanks  
Doris o7

---

<div class="post-metadata">

**Author:** ![Vortexo\_VonBrenner](https://sea1.discourse-cdn.com/eveonline/user_avatar/forums.eveonline.com/vortexo_vonbrenner/32/64874_2.png) [@Vortexo\_VonBrenner](https://forums.eveonline.com/u/Vortexo_VonBrenner)\
**Post date:** [March 6, 2018, 9:04pm UTC](https://forums.eveonline.com/t/using-new-esi/61481/2 "2018-03-06T21:04:31Z")

</div>

ok…well…did you intend to post that in this section for new players?

---

<div class="post-metadata">

**Author:** ![Doris\_Avali](https://sea1.discourse-cdn.com/eveonline/user_avatar/forums.eveonline.com/doris_avali/32/58316_2.png) [@Doris\_Avali](https://forums.eveonline.com/u/Doris_Avali)\
**Post date:** [March 6, 2018, 9:26pm UTC](https://forums.eveonline.com/t/using-new-esi/61481/3 "2018-03-06T21:26:01Z")

</div>

Sorry, moved 🙂  
… And again 😂

---

<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:** [March 6, 2018, 9:53pm UTC](https://forums.eveonline.com/t/using-new-esi/61481/4 "2018-03-06T21:53:27Z")

</div>

Steps:

1. They log in and auth via SSO
2. Hit up [https://esi.tech.ccp.is/ui/#/Character/post\_characters\_affiliation](https://esi.tech.ccp.is/ui/#/Character/post_characters_affiliation) with character\_id from SSO to get character’s alliance/corp/faction ids.
3. If alliance\_id === your alliance grant them access. Else limit access.

How you go about actually granting them access is dependent on how you set it up and what you are using, but the logic would work no matter what framework etc you use.

---

<div class="post-metadata">

**Author:** ![Doris\_Avali](https://sea1.discourse-cdn.com/eveonline/user_avatar/forums.eveonline.com/doris_avali/32/58316_2.png) [@Doris\_Avali](https://forums.eveonline.com/u/Doris_Avali)\
**Post date:** [March 7, 2018, 8:45am UTC](https://forums.eveonline.com/t/using-new-esi/61481/5 "2018-03-07T08:45:26Z")

</div>

Awesome thanks, it was the access token i was missing so the requests to pull the data were being rejected.

1 last thing which plugin do you use to use eve login instead of the standard email and password register job?

---

<div class="post-metadata">

**Author:** ![Brock\_Khans](https://sea1.discourse-cdn.com/eveonline/user_avatar/forums.eveonline.com/brock_khans/32/409174_2.png) [@Brock\_Khans](https://forums.eveonline.com/u/Brock_Khans)\
**Post date:** [March 7, 2018, 3:29pm UTC](https://forums.eveonline.com/t/using-new-esi/61481/6 "2018-03-07T15:29:54Z")

</div>

There is one on the forums here for PHPBB, other than that I’m not aware of any already written custom plugins that work with ESI as the auth method.

Or you could use something like allianceauth where people register and then it takes care of registering with all the other 3rd party apps.

---

<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:** [June 5, 2018, 3:30pm UTC](https://forums.eveonline.com/t/using-new-esi/61481/7 "2018-06-05T15:30:02Z")

</div>

Closed on June 5, 2018, 3:30pm UTC

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