Page 1 of 1

Third party libraries, modules and licensing

Posted: Sun Sep 05, 2010 7:11 pm
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

Re: Third party libraries, modules and licensing

Posted: Mon Sep 06, 2010 8:39 am
by alby

Re: Third party libraries, modules and licensing

Posted: Tue Dec 28, 2010 11:47 pm
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

Re: Third party libraries, modules and licensing

Posted: Mon Jan 31, 2011 10:50 pm
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.

Re: Third party libraries, modules and licensing

Posted: Sun Feb 20, 2011 1:30 pm
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?

Re: Third party libraries, modules and licensing

Posted: Sun Aug 07, 2011 10:38 pm
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