Discourse oAuth2

I’m using the following plugin for discourse to handle logins for discourse server .

It works, but I can’t figure out the oauth2.json path for Character Portraits.

Any help would be appreciated. Users can login, but the portraits aren’t syncing across.

read this and see if it helps https://imageserver.eveonline.com

Portraits are jpeg also, unlike everything else.

As someone with some experience with Discourse… [dramatic pause]

I’m not overly familiar with the plugin you’re using, as we required a more elaborate approach* for the EVE forums.

As mentioned by EveDataRules, you’d need to have an URL pointing to https://imageserver.eveonline.com/Character/{characterId}_256.jpg when validating the token & getting character information.

Are you using the /verify endpoint on ESI to get the character information during login?

Additional note: character portraits would only update on login. Discourse downloads & resizes the portraits.

*Documentation for elaborate means (requires some coding & hosting a service, lets you tie in other rules for access management): https://meta.discourse.org/t/official-single-sign-on-for-discourse-sso/13045

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