I really like the way EVE forum’s integrates nicely with the SSO (yes, I mean this forum)
Our corp uses Discourse as well for our forum engine, and we would like to integrate the same SSO login that automatically fetch the character’s profile picture and the name as well.
Is there any open source implementation for this one? Or will CCP ever release the Discourse’s plugin as an open source repository?
Thank you so much!
https://github.com/discourse/discourse-oauth2-basic may do some of what you want.
EVE’s SSO is fairly basic oauth2.
you’d set it up on https://developers.eveonline.com (that’s where you put in the callback url that’s mentioned at the top od the readme)
https://login.eveonline.com/oauth/authorize is the authorize url
https://login.eveonline.com/oauth/token is the token url
https://login.eveonline.com/oauth/verify is the user information url.(you don’t need the :token)
The return on the verify looks something like:
"CharacterName": "Steve Ronuken",
so you could probably do:
doesn’t do the picture though.’
Thank you @Steve_Ronuken.
I successfully implemented the SSO login in our hosted Discourse instance using your guide.
The character profile picture isn’t imported and the user still needs to register for an account with a valid email address but I think it doesn’t really matter for now.
I guess this post can be locked now as the problem is now solved
when it comes to email addresses, CCP are just cheating. They’re assigning one based on character id, which doesn’t actually work.
(as many accounts have the same email, and all characters have the same on the same account, this is the ‘best’ of the possible solutions)
You’re right, thank you o7
This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.