Rocket.Chat icon indicating copy to clipboard operation
Rocket.Chat copied to clipboard

SSO with forums

Open mikeamcbrien opened this issue 11 years ago • 44 comments

So many communities would love a system that would allow sso from their software, like forums, Invision Power, vBulletin and eve wordpress.

Allow a mechanism for Single Sign On from any of these systems could be a huge benefit to any of the communities involved and their real time communication needs.

and API that would also allow simple information, like #of users chatting, online, active, etc for pulling to the website would also work great in tandem with this feature.

Want to back this issue? Post a bounty on it! We accept bounties via Bountysource.

mikeamcbrien avatar Jul 20 '15 19:07 mikeamcbrien

+1 to register/sign-in with like a vBulletin forum, would be awesome.

stefanffsx avatar Jul 27 '15 16:07 stefanffsx

Any ideas how to implement this?

rodrigok avatar Jul 27 '15 21:07 rodrigok

XenForo have a Steam SSO here: http://www.github.com/HowIChrgeLazer/Steam-Authentication-for-XenForo

AdrianoCahete avatar Jul 27 '15 21:07 AdrianoCahete

+1 I would love this feature. I would like to use it with a CAS server, like this one: http://rubycas.github.io/

andricicezar avatar Aug 01 '15 20:08 andricicezar

Check this, maybe it can help you: https://atmospherejs.com/admithub/shared-auth

andricicezar avatar Aug 01 '15 20:08 andricicezar

Guys, just so I can understand and see if we can make this into our v1.0 release.

Is the SSO part important? Or just the OAuth or SAML part?

I mean, is that important that the user is automatically logged in, or it is enough for now that he can just use the same username and password without the need to re-register?

We could use soemthing like https://atmospherejs.com/natestrauser/accounts-saml

Or

We could create a generic oAuth package that can be configured to connect to Wordpress and alikes if they have something like https://wordpress.org/plugins/oauth2-provider/ installed.

engelgabriel avatar Aug 03 '15 23:08 engelgabriel

I think is more important that the user be automatically logged in, because it will be a seamless flow when you integrate more projects together.

On Tue, Aug 4, 2015, 2:50 AM Gabriel Engel [email protected] wrote:

Guys, just so I can understand and see if we can make this into our v1.0 release.

Is the SSO part important? Or just the OAuth or SAML part?

I mean, is that important that the user is automatically logged in, or it is enough for now that he can just use the same username and password without the need to re-register?

We could use soemthing like https://atmospherejs.com/natestrauser/accounts-saml

Or

We could create a generic oAuth package that can be configured to connect to Wordpress and alikes if they have something like https://wordpress.org/plugins/oauth2-provider/ installed.

— Reply to this email directly or view it on GitHub https://github.com/RocketChat/Rocket.Chat/issues/322#issuecomment-127435018 .

andricicezar avatar Aug 04 '15 06:08 andricicezar

May I suggest an adapter approach? This would allow developers to write authentication methods for their different platforms, and take a lot of the burden off of you guys.

We discussed this in chat. @graywolf336 mentioned this. But I find it a great idea, and want to make sure its with the issue.

geekgonecrazy avatar Aug 21 '15 16:08 geekgonecrazy

Yes, I think the adapter approach would be one of the best ways to go about this. It wouldn't be a seamless flow as others have mentioned in here but it would make it so only one login is required across several platforms (at least in my regards). There are a vast amount of solutions out there which can be hooked into via an adapter to try and meet the needs of them all, which is where the adapters would come into play. I use Xenforo and would be nice to use that as the system which my team uses to log in with.

graywolf336 avatar Aug 21 '15 17:08 graywolf336

Support for Okta SSO through SAML v2

engelgabriel avatar Aug 31 '15 21:08 engelgabriel

https://github.com/nate-strauser/meteor-accounts-saml

engelgabriel avatar Aug 31 '15 21:08 engelgabriel

https://meteorhacks.com/extending-meteor-accounts

engelgabriel avatar Aug 31 '15 21:08 engelgabriel

We can test here: https://www.okta.com/get-okta-free/

engelgabriel avatar Aug 31 '15 21:08 engelgabriel

Go to https://www.okta.com/solutions/identity-layer-for-developers.html there is a sign up for a developer account

engelgabriel avatar Aug 31 '15 21:08 engelgabriel

Def. want this without requiring a third party sso/oauth solution. I want to tie into my existing web app.

jjshoe avatar Nov 05 '15 18:11 jjshoe

Same here...Would like to integrate with my existing custom community site using the user's preexisting account.

mchilson avatar Jan 01 '16 02:01 mchilson

@mchilson can't you use SAML or oAuth?

engelgabriel avatar Jan 05 '16 14:01 engelgabriel

Yes of course, but like most that have posted here a seamless, fully integrated solution is much better for my users/subscribers and they come first. Nothing scares a unsophisticated user off more than having to jump through hoops.maybe have a "simple integrated mode" where the username can be passed and a session created? I know this is not how the app is structured but it would be VERY helpful to most integrators. With that said, .I really like rocket.chat and hope to be able to use it sometime in the future if this type of integration is ever implemented..

mchilson avatar Jan 05 '16 16:01 mchilson

does this support also Forums like https://www.discourse.org/ https://nodebb.org/ http://flarum.org/

IQ2022 avatar Jan 05 '16 16:01 IQ2022

I too would love to see more than the adapter approach. The ability to have a user log into a website once is crucial.

jjshoe avatar Jan 05 '16 19:01 jjshoe