Page 1 of 1

intergrating SSO with mantis bug traker

Posted: 15 Jan 2018, 17:30
by glennmckenna
hi,

I know that this might sound a bit extreme / mental but...

I’ve got multiple sites all with logins so I’m looking to install a SSO

here is a link to the SSO system:
https://barebonescms.com/documentation/sso/

so, my question is how could integrate this system with mantis bt?
could I be brutal and just delete mantis login system and use the SSO login form, but in that case how would control the authorisations?

Re: intergrating SSO with mantis bug traker

Posted: 16 Jan 2018, 13:04
by glennmckenna
I’ve done some research and it is possible and I’ve found a few plugins that already do it.

looking at the myBB plugin I’ve found these plugin that I might be able to work from

https://github.com/mantisbt-plugins/Sim ... ee/initial
and
https://github.com/mantisbt-plugins/SampleAuth

what do you think ?
and would it be possible to have some help cause the SSO is all new to me ?

Re: intergrating SSO with mantis bug traker

Posted: 16 Jan 2018, 19:08
by Starbuck
I haven't looked at it yet but this topic interests me too.
SSO would be helpful purely for authentication, but care needs to be used when it comes to permissions, project relationships, etc.
I can't comment on the plugins you referenced, just no time, but will certainly look sometime later.

Re: intergrating SSO with mantis bug traker

Posted: 17 Jan 2018, 20:28
by glennmckenna
from what i can see they are useing the SSO for authication and the the SSO server returns a session id and other information ie there email adresse

Re: intergrating SSO with mantis bug traker

Posted: 01 Feb 2018, 22:59
by Starbuck

Re: intergrating SSO with mantis bug traker

Posted: 27 Feb 2018, 18:35
by mushu
We use the AdLogin plugin and it works great. Just need to update the core from "1.2.0" to "1.3.0" and it will install and work.

https://mantisbt.org/bugs/file_download ... 3&type=bug

Re: intergrating SSO with mantis bug traker

Posted: 01 Mar 2018, 23:36
by Starbuck
While it's almost never a good idea to download and install a plugin from a forum, in this case the code looks OK.
Is there a home for this code at GitHub or elsewhere? Thx

Re: intergrating SSO with mantis bug traker

Posted: 01 Mar 2018, 23:41
by mushu
Don't think so, the author doesn't have it on his website any more and given that I had to update it to work it's unlikely it is being maintained. The fact that it is such a simple plugin is about the only redeeming value, as long as it works in the current Mantis codebase I don't see a problem.

Re: intergrating SSO with mantis bug traker

Posted: 01 Mar 2018, 23:56
by Starbuck
Thanks. I'll see if we can make a home for it.