• This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn more.

Support SSO through API endpoints to login/logout a user from Xenforo

jeffwidman

Active member
#1
I have a website that has multiple apps including a forum. We've got a SSO (single sign on) app that handles user authentication to all the other apps by logging users in/out via API endpoints on the other apps.

Since you're re-architecting the codebase in Xenforo 2.0, could you build in an API endpoint for this?

I've checked the addons, not seeing anything that smoothly handles this, and this kind of functionality would be a lot easier implemented in Core.

The best technical implementation that I've seen so far is how Discourse handles this: https://meta.discourse.org/t/official-single-sign-on-for-discourse/13045
 
Last edited:

The Dark Wizard

Well-known member
#2
I have a website that has multiple apps including a forum. We've got a SSO (single sign on) app that handles user authentication to all the other apps by logging users in/out via API endpoints on the other apps.

Since you're re-architecting the codebase in Xenforo 2.0, could you build in an API endpoint for this?

I've checked the addons, not seeing anything that smoothly handles this, and this kind of functionality would be a lot easier implemented in Core.

The best technical implementation that I've seen so far is how Discourse handles this: https://meta.discourse.org/t/official-single-sign-on-for-discourse/13045
This seems like a great idea for the forum admins who have more then one and usually network a large amount of forums together.