Third party libraries, modules and licensing

Talk about writing modules and plugins for CMS Made Simple, or about specific core functionality. This board is for PHP programmers that are contributing to CMSMS not for site developers
Post Reply
henrik
New Member
New Member
Posts: 7
Joined: Sun Sep 05, 2010 6:33 pm

Third party libraries, modules and licensing

Post by henrik »

Hi,

I've been developing a CMSMS OpenID module for a while and it's gotten to the point of being ready for a first release. This would be my first open source contribution and I've been spending some time trying to get some understanding of the licensing terms. This proved to be quite a task for a non-lawyer so I hope more experienced people can help me out.

The module uses two components, namely:
- The JanRain PHP OpenID library licensed under the apache 2.0 license
- The jQuery OpenID plugin by jvance licensed under the Creative Commons v3 license

The module just wraps things up in a CMSMS friendly manner and provides a smarty tag to use in pages. I've had to modify both libraries in a few places but these are well documented.

What I'd like to do is:
- Release my module under the GPL v2, same as CMSMS
- Redistribute the other two libraries (with my changes) under their respective license

Is this possible? The stuff that I find the hardest to grasp in terms of licensing is the parts about derivate work. If my module has a class that extends a JanRain class, is my class then required to keep the apache license or can I choose another one? Or is there a better way to handle the licensing, like releasing the whole thing under apache v2?

Looking forward to your insights.

Best regards
Henrik
henrik
New Member
New Member
Posts: 7
Joined: Sun Sep 05, 2010 6:33 pm

Re: Third party libraries, modules and licensing

Post by henrik »

The OpenID module (with Facebook support) version 1.0.0 has been released : http://dev.cmsmadesimple.org/projects/openid

Any feedback is much appreciated.

/Henrik
henrik
New Member
New Member
Posts: 7
Joined: Sun Sep 05, 2010 6:33 pm

Re: Third party libraries, modules and licensing

Post by henrik »

Google can be a bit tricky since it does a separate endpoint lookup behind the scenes. Simpler providers like MyOpenID is most often easier to get working. Did you get any specific errors when you tried google?

A page redirect after login sounds like a good idea, I'll add it to my todo list. I've added support for twitter login to the next version and I'll see if i can get your request into that one before releasing.
Riel
New Member
New Member
Posts: 9
Joined: Fri May 01, 2009 5:10 pm

Re: Third party libraries, modules and licensing

Post by Riel »

I have it working with Google (quite easy) now.

But after logging in it redirects me to the admin panel (and, when logged out there, with an admin-login)

It gives me this in the admin panel:


Gebruikers/Groepen » OpenID Module

OpenID Module Modulehulp

Your provided identity is https://www.google.com/accounts/o8/id?i ... n09gwet4jp v43 and you have been logged in as user riel.xxxxxxx@gmail.com

« Terug naar menu

It should go to the page where the FEU would redirect them to originally.


And, is it possible to only show the 'login with google' button? Or even just a Google Login screen?
ozgurluk2000
New Member
New Member
Posts: 4
Joined: Sun Aug 07, 2011 9:21 pm

Re: Third party libraries, modules and licensing

Post by ozgurluk2000 »

hello Henrik,

it seems that linking openId providers needs to be done through a cmsms admin panel URL (as described in http://forum.cmsmadesimple.org/viewtopi ... =56088&e=0).

ISSUE SOLVED in version 1.2.1.

Regards
Post Reply

Return to “Developers Discussion”