# phpBB 3.2 EVE SSO / ESI extension \[beta\]

**URL:** <https://forums.eveonline.com/t/phpbb-3-2-eve-sso-esi-extension-beta/17046>\
**Category:** Third Party Developers\
**Tags:** esi\
**Created:** [August 15, 2017, 3:52pm UTC](https://forums.eveonline.com/t/phpbb-3-2-eve-sso-esi-extension-beta/17046 "2017-08-15T15:52:41Z")\
**Posts on this page:** 20\
**Page:** 7

<div class="post-metadata">

**Author:** ![Snitch\_Ashor](https://sea1.discourse-cdn.com/eveonline/user_avatar/forums.eveonline.com/snitch_ashor/32/470084_2.png) [@Snitch\_Ashor](https://forums.eveonline.com/u/Snitch_Ashor)\
**Post date:** [January 9, 2018, 8:33am UTC](https://forums.eveonline.com/t/phpbb-3-2-eve-sso-esi-extension-beta/17046/124 "2018-01-09T08:33:57Z")

</div>

Ok quick update: [https://bitbucket.org/snitchashor/php-ext-authevesso/downloads/php-ext-authevesso-v1.2.2b.zip](https://bitbucket.org/snitchashor/php-ext-authevesso/downloads/php-ext-authevesso-v1.2.2b.zip)

This one fixes the corp/alliance names not appearing and another small issue in the acp when adding a corp where the same corp exists, only differing by one or more dots.  
**The corp/alliance names will not reappear right away, but only when the cron job is executed.**

---

<div class="post-metadata">

**Author:** ![Mister\_Slone](https://sea1.discourse-cdn.com/eveonline/user_avatar/forums.eveonline.com/mister_slone/32/37888_2.png) [@Mister\_Slone](https://forums.eveonline.com/u/Mister_Slone)\
**Post date:** [January 9, 2018, 10:45am UTC](https://forums.eveonline.com/t/phpbb-3-2-eve-sso-esi-extension-beta/17046/125 "2018-01-09T10:45:17Z")

</div>

@Snitch_Ashor  
My problem is resolved. That’s probably due to misconfiguration cookie parameters next to migration from local XAMPP to live webserver.

I have applied this solution [https://www.phpbb.com/support/docs/en/3.2/kb/article/fixing-incorrect-cookie-settings/](https://www.phpbb.com/support/docs/en/3.2/kb/article/fixing-incorrect-cookie-settings/)

Sorry for disturb and thanks for your assistance 🙂

Edit: Uh, just updated authevesso and get this error when activated extention  
`Fatal error: Cannot redeclare class snitch\authevesso\migrations\version_121 in /public_html/board/ext/snitch/authevesso/migrations/version_122.php on line 24`

---

<div class="post-metadata">

**Author:** ![Snitch\_Ashor](https://sea1.discourse-cdn.com/eveonline/user_avatar/forums.eveonline.com/snitch_ashor/32/470084_2.png) [@Snitch\_Ashor](https://forums.eveonline.com/u/Snitch_Ashor)\
**Post date:** [January 9, 2018, 11:11am UTC](https://forums.eveonline.com/t/phpbb-3-2-eve-sso-esi-extension-beta/17046/126 "2018-01-09T11:11:48Z")

</div>

Sorry my bad, fixed here: [https://bitbucket.org/snitchashor/php-ext-authevesso/downloads/php-ext-authevesso-v1.2.2b2.zip](https://bitbucket.org/snitchashor/php-ext-authevesso/downloads/php-ext-authevesso-v1.2.2b2.zip)

---

<div class="post-metadata">

**Author:** ![Entropy\_ZeroLaw](https://sea1.discourse-cdn.com/eveonline/user_avatar/forums.eveonline.com/entropy_zerolaw/32/44995_2.png) [@Entropy\_ZeroLaw](https://forums.eveonline.com/u/Entropy_ZeroLaw)\
**Post date:** [January 10, 2018, 6:14am UTC](https://forums.eveonline.com/t/phpbb-3-2-eve-sso-esi-extension-beta/17046/127 "2018-01-10T06:14:19Z")

</div>

> [@Snitch\_Ashor](#):
>
> Sorry my bad, fixed here: [https://bitbucket.org/snitchashor/php-ext-authevesso/downloads/php-ext-authevesso-v1.2.2b2.zip](https://bitbucket.org/snitchashor/php-ext-authevesso/downloads/php-ext-authevesso-v1.2.2b2.zip)

this update throws this error for me.  
about this line:  
$allyName = EVEHELPERS::getAllyInfo($allyID)[‘name’];

> PHP Fatal error: Uncaught Error: Cannot use object of type stdClass as array in /var/www/html/ext/snitch/authevesso/auth/provider/evesso.php:534\nStack trace:\n#0 /var/www/html/ext/snitch/authevesso/auth/provider/evesso.php(270): snitch\authevesso\auth\provider\evesso-\>addToGroups(Array)\n#1 /var/www/html/ext/snitch/authevesso/auth/provider/evesso.php(301): snitch\authevesso\auth\provider\evesso-\>autologin()\n#2 /var/www/html/phpbb/session.php(435): snitch\authevesso\auth\provider\evesso-\>validate\_session(Array)\n#3 /var/www/html/app.php(26): phpbb\session-\>session\_begin()\n#4 {main}\n thrown in /var/www/html/ext/snitch/authevesso/auth/provider/evesso.php on line 534

---

<div class="post-metadata">

**Author:** ![Ikki\_Phoenix](https://sea1.discourse-cdn.com/eveonline/user_avatar/forums.eveonline.com/ikki_phoenix/32/391105_2.png) [@Ikki\_Phoenix](https://forums.eveonline.com/u/Ikki_Phoenix)\
**Post date:** [January 13, 2018, 12:26pm UTC](https://forums.eveonline.com/t/phpbb-3-2-eve-sso-esi-extension-beta/17046/128 "2018-01-13T12:26:53Z")

</div>

Question. Are any of the following scopes viewable only by individual pilots:

public data  
esi-location.read\_location.v1  
esi-skills.read\_skills.v1  
esi-characters.read\_contacts.v1  
esi-corporations.read\_corporation\_membership.v1  
esi-characters.read\_standings.v1  
esi-characters.read\_corporation\_roles.v1  
esi-location.read\_online.v1

---

<div class="post-metadata">

**Author:** ![Ikki\_Phoenix](https://sea1.discourse-cdn.com/eveonline/user_avatar/forums.eveonline.com/ikki_phoenix/32/391105_2.png) [@Ikki\_Phoenix](https://forums.eveonline.com/u/Ikki_Phoenix)\
**Post date:** [January 14, 2018, 5:26am UTC](https://forums.eveonline.com/t/phpbb-3-2-eve-sso-esi-extension-beta/17046/130 "2018-01-14T05:26:14Z")

</div>

I selected to view the public data, but I am not sure where I am supposed to see that on the website.

Thank you

---

<div class="post-metadata">

**Author:** ![Snitch\_Ashor](https://sea1.discourse-cdn.com/eveonline/user_avatar/forums.eveonline.com/snitch_ashor/32/470084_2.png) [@Snitch\_Ashor](https://forums.eveonline.com/u/Snitch_Ashor)\
**Post date:** [January 15, 2018, 12:22pm UTC](https://forums.eveonline.com/t/phpbb-3-2-eve-sso-esi-extension-beta/17046/131 "2018-01-15T12:22:33Z")

</div>

> [@Entropy\_ZeroLaw](#):
>
> this update throws this error for me.  
> about this line:  
> $allyName = EVEHELPERS::getAllyInfo($allyID)[‘name’];

Fixed here: [https://bitbucket.org/snitchashor/php-ext-authevesso/downloads/php-ext-authevesso-v1.2.2b3.zip](https://bitbucket.org/snitchashor/php-ext-authevesso/downloads/php-ext-authevesso-v1.2.2b3.zip)

---

<div class="post-metadata">

**Author:** ![Snitch\_Ashor](https://sea1.discourse-cdn.com/eveonline/user_avatar/forums.eveonline.com/snitch_ashor/32/470084_2.png) [@Snitch\_Ashor](https://forums.eveonline.com/u/Snitch_Ashor)\
**Post date:** [January 15, 2018, 12:23pm UTC](https://forums.eveonline.com/t/phpbb-3-2-eve-sso-esi-extension-beta/17046/132 "2018-01-15T12:23:25Z")

</div>

The scopes are not used directly yet, you have to select at least one in order to get a refresh token, thats why publicData is there.

---

<div class="post-metadata">

**Author:** ![Data\_Massive](https://sea1.discourse-cdn.com/eveonline/user_avatar/forums.eveonline.com/data_massive/32/398699_2.png) [@Data\_Massive](https://forums.eveonline.com/u/Data_Massive)\
**Post date:** [January 25, 2018, 9:51pm UTC](https://forums.eveonline.com/t/phpbb-3-2-eve-sso-esi-extension-beta/17046/133 "2018-01-25T21:51:32Z")

</div>

We have several levels of access to the corporation. On the forum and in TeamSpeak groups are identical. How can I make the phpbb group receive the privileges of the TeamSpeak group?

---

<div class="post-metadata">

**Author:** ![Snitch\_Ashor](https://sea1.discourse-cdn.com/eveonline/user_avatar/forums.eveonline.com/snitch_ashor/32/470084_2.png) [@Snitch\_Ashor](https://forums.eveonline.com/u/Snitch_Ashor)\
**Post date:** [January 26, 2018, 3:27pm UTC](https://forums.eveonline.com/t/phpbb-3-2-eve-sso-esi-extension-beta/17046/134 "2018-01-26T15:27:03Z")

</div>

> [@Data\_Massive](#):
>
> We have several levels of access to the corporation. On the forum and in TeamSpeak groups are identical. How can I make the phpbb group receive the privileges of the TeamSpeak group?

Theres no way to do this at the moment. One of the features planned is to grant group access based on corp/alliance roles but this is a little tricky because that information is only available to corp members so you would always use one of the existing characters to query that information without even knowing if that api has eventually been revoked.  
You can always add groups manually on top of the ones handled by the mod, they should not be touched by the cron job.

---

<div class="post-metadata">

**Author:** ![Frank\_D\_Franklin](https://sea1.discourse-cdn.com/eveonline/user_avatar/forums.eveonline.com/frank_d_franklin/32/51635_2.png) [@Frank\_D\_Franklin](https://forums.eveonline.com/u/Frank_D_Franklin)\
**Post date:** [January 28, 2018, 5:36pm UTC](https://forums.eveonline.com/t/phpbb-3-2-eve-sso-esi-extension-beta/17046/135 "2018-01-28T17:36:23Z")

</div>

@Snitch_Ashor

I have recently completed a domain migration, but I cannot figure out how to change the sso callback url. The ext doesnt seem to be picking it up form the board general settings (unless i missed something).

Any ideas on direction?

Thanks!

---

<div class="post-metadata">

**Author:** ![Snitch\_Ashor](https://sea1.discourse-cdn.com/eveonline/user_avatar/forums.eveonline.com/snitch_ashor/32/470084_2.png) [@Snitch\_Ashor](https://forums.eveonline.com/u/Snitch_Ashor)\
**Post date:** [January 28, 2018, 7:24pm UTC](https://forums.eveonline.com/t/phpbb-3-2-eve-sso-esi-extension-beta/17046/136 "2018-01-28T19:24:31Z")

</div>

It uses one of the phpbb internal functions to create it. If its still the old one, that might be a caching issue. Did you change the callback on the eve developers site already?

---

<div class="post-metadata">

**Author:** ![Frank\_D\_Franklin](https://sea1.discourse-cdn.com/eveonline/user_avatar/forums.eveonline.com/frank_d_franklin/32/51635_2.png) [@Frank\_D\_Franklin](https://forums.eveonline.com/u/Frank_D_Franklin)\
**Post date:** [January 28, 2018, 7:35pm UTC](https://forums.eveonline.com/t/phpbb-3-2-eve-sso-esi-extension-beta/17046/137 "2018-01-28T19:35:38Z")

</div>

I did, in fact.

the config for the ext still shows the old domain, but has been changed everywhere else.

---

<div class="post-metadata">

**Author:** ![Snitch\_Ashor](https://sea1.discourse-cdn.com/eveonline/user_avatar/forums.eveonline.com/snitch_ashor/32/470084_2.png) [@Snitch\_Ashor](https://forums.eveonline.com/u/Snitch_Ashor)\
**Post date:** [January 28, 2018, 7:46pm UTC](https://forums.eveonline.com/t/phpbb-3-2-eve-sso-esi-extension-beta/17046/138 "2018-01-28T19:46:14Z")

</div>

Did you purge the cache? And could you check under Server Settings what “Force server URL settings” is set to?

---

<div class="post-metadata">

**Author:** ![Frank\_D\_Franklin](https://sea1.discourse-cdn.com/eveonline/user_avatar/forums.eveonline.com/frank_d_franklin/32/51635_2.png) [@Frank\_D\_Franklin](https://forums.eveonline.com/u/Frank_D_Franklin)\
**Post date:** [January 28, 2018, 7:48pm UTC](https://forums.eveonline.com/t/phpbb-3-2-eve-sso-esi-extension-beta/17046/139 "2018-01-28T19:48:33Z")

</div>

Cache has been purged, Force server URL settings is set to ‘No’

---

<div class="post-metadata">

**Author:** ![Snitch\_Ashor](https://sea1.discourse-cdn.com/eveonline/user_avatar/forums.eveonline.com/snitch_ashor/32/470084_2.png) [@Snitch\_Ashor](https://forums.eveonline.com/u/Snitch_Ashor)\
**Post date:** [January 28, 2018, 9:03pm UTC](https://forums.eveonline.com/t/phpbb-3-2-eve-sso-esi-extension-beta/17046/140 "2018-01-28T21:03:43Z")

</div>

Can you evemail me your current forum url and the old domain?

---

<div class="post-metadata">

**Author:** ![Frank\_D\_Franklin](https://sea1.discourse-cdn.com/eveonline/user_avatar/forums.eveonline.com/frank_d_franklin/32/51635_2.png) [@Frank\_D\_Franklin](https://forums.eveonline.com/u/Frank_D_Franklin)\
**Post date:** [January 28, 2018, 9:27pm UTC](https://forums.eveonline.com/t/phpbb-3-2-eve-sso-esi-extension-beta/17046/141 "2018-01-28T21:27:46Z")

</div>

Interestingly enough, visiting some of the pages and applying chagnes seemed to have chagned things because the correct sso url is present now AND is confirmed working.

Thanks for your hard work on this plugin. its great and makes our forums possible.

Thanks!

---

<div class="post-metadata">

**Author:** ![Aegis\_Niminen](https://sea1.discourse-cdn.com/eveonline/user_avatar/forums.eveonline.com/aegis_niminen/32/52259_2.png) [@Aegis\_Niminen](https://forums.eveonline.com/u/Aegis_Niminen)\
**Post date:** [February 1, 2018, 5:02am UTC](https://forums.eveonline.com/t/phpbb-3-2-eve-sso-esi-extension-beta/17046/142 "2018-02-01T05:02:40Z")

</div>

I can’t seem to get this to work. I have triple checked all my setting per the instruction and every time I hit test SSO button it throws me to an Internal Server Error 500 and I have no idea where the logs are for this to see what it could be. Any help would be much appreciated.

---

<div class="post-metadata">

**Author:** ![Snitch\_Ashor](https://sea1.discourse-cdn.com/eveonline/user_avatar/forums.eveonline.com/snitch_ashor/32/470084_2.png) [@Snitch\_Ashor](https://forums.eveonline.com/u/Snitch_Ashor)\
**Post date:** [February 1, 2018, 7:52am UTC](https://forums.eveonline.com/t/phpbb-3-2-eve-sso-esi-extension-beta/17046/143 "2018-02-01T07:52:23Z")

</div>

If it throws a 500, the information is probably inside your webserver log. Depending on whether its apache and if you have root access, this might be in /var/log/apache2/error.log but depends on your webserver configuration. What php version are you using?

---

<div class="post-metadata">

**Author:** ![Venalicius\_Nalelmir](https://sea1.discourse-cdn.com/eveonline/user_avatar/forums.eveonline.com/venalicius_nalelmir/32/175717_2.png) [@Venalicius\_Nalelmir](https://forums.eveonline.com/u/Venalicius_Nalelmir)\
**Post date:** [February 3, 2018, 10:35am UTC](https://forums.eveonline.com/t/phpbb-3-2-eve-sso-esi-extension-beta/17046/144 "2018-02-03T10:35:35Z")

</div>

Thanks Snitch. This is working well and your time is appreciated! I’ve also done some work with phpbb. I am currently working on another extension that uses ESI and I am curious if you’re willing to add an event when building the URL for the scopes for the SSO login to allow another extension to add onto it (and any other events i might need but havent thought of)? Feel free to PM me if you want me to expand on my plans.

[Previous page](https://forums.eveonline.com/t/phpbb-3-2-eve-sso-esi-extension-beta/17046.md?page=6)

[Next page](https://forums.eveonline.com/t/phpbb-3-2-eve-sso-esi-extension-beta/17046.md?page=8)
