Re: [PHP] Is there a PHP based authentication library?
Hi Andy, To be honest, that's also not what i'm looking for, but might be a good starting point to extend on. Depends on how you made it :) I cant promise that i'ill be working on it. I might be for some future project in my company but it might very well not happen as well. On Tue, Apr 2, 2013 at 2:08 AM, Andy McKenzie amckenz...@gmail.com wrote: I started building one at my last job, though it was part of a framework I was developing. I knew I was going to need to authenticate against both LDAP and old-fashioned database username/md5-password columns. (Ah, legacy user databases.) If it would be useful, I could dig out what I had and try to make it into a stand-alone set of functions, but I never got further than those two options. Basically there was a script that took in a username and password from a web form, then looked at a config file to decide which set of the sub-functions to use. For a DB, it checked to see if the username and hashed password matched a row in the database; for LDAP, it did some re-encoding to handle the weird encrypt that our OpenLDAP server used, then ran through the process of checking to see if the user actually had that as their password. Like I said, let me know if anyone wants to see it... I'm unemployed right now, and a project to work on this week (or next... this week is kind of busy) might be a good thing. -Andy McKenzie On Mon, Apr 1, 2013 at 6:49 PM, Mark mark...@gmail.com wrote: On Tue, Apr 2, 2013 at 12:27 AM, Sorin Badea sorin.bade...@gmail.com wrote: Hi Mark, I think a simple Google search would be faster. Anyway, an unified way for 3rd party authentication doesn't exist from my knowledge, but for Persona you could use the sample from mozilla github account https://github.com/mozilla/browserid-cookbook . Good luck, Sorin! On Tue, Apr 2, 2013 at 12:26 AM, Mark mark...@gmail.com wrote: Hi, I stumbled upon this payment library: http://ci-merchant.org/ which abstracts the different payment backends away and exposes a new easy to use interface for the app developer to use. Thus making it very easy to use different payment providers. I was wondering if something like that is also existing for authentication? For example, in authentication you have quite a few different ones: - Mozilla Persona - openid - facebook connect - google (openid?) - use/pass based authentication (a.k.a. the self made version that every dev begins with) - oauth - twitter connect - etc... Is there such a library in existence? I'm especially looking for one with mozilla persona implemented. Kind regards, Mark -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php -- Badea Sorin (unu.sorin) sorin.bade...@gmail.com unu_so...@yahoo.com Pagina personala: http://badeasorin.com I couldn't find it on google thus i asked in the one place where - if it exists - people would probably know. I find it quite surprising that a library like this isn't in existence yet. I can imagine tons of sites would certainly benefit from having one generic interface to use. Anyway, thank you for your pointer and reply. If you (or anyone else) finds a lib for this, please don't hesitate to post it in here. :) -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] Is there a PHP based authentication library?
Check out http://philsturgeon.co.uk/blog/2011/09/ninjauth-social-integration-php from Phil sturgeon. Bastien Koert On 2013-04-02, at 3:41 PM, Mark mark...@gmail.com wrote: Hi Andy, To be honest, that's also not what i'm looking for, but might be a good starting point to extend on. Depends on how you made it :) I cant promise that i'ill be working on it. I might be for some future project in my company but it might very well not happen as well. On Tue, Apr 2, 2013 at 2:08 AM, Andy McKenzie amckenz...@gmail.com wrote: I started building one at my last job, though it was part of a framework I was developing. I knew I was going to need to authenticate against both LDAP and old-fashioned database username/md5-password columns. (Ah, legacy user databases.) If it would be useful, I could dig out what I had and try to make it into a stand-alone set of functions, but I never got further than those two options. Basically there was a script that took in a username and password from a web form, then looked at a config file to decide which set of the sub-functions to use. For a DB, it checked to see if the username and hashed password matched a row in the database; for LDAP, it did some re-encoding to handle the weird encrypt that our OpenLDAP server used, then ran through the process of checking to see if the user actually had that as their password. Like I said, let me know if anyone wants to see it... I'm unemployed right now, and a project to work on this week (or next... this week is kind of busy) might be a good thing. -Andy McKenzie On Mon, Apr 1, 2013 at 6:49 PM, Mark mark...@gmail.com wrote: On Tue, Apr 2, 2013 at 12:27 AM, Sorin Badea sorin.bade...@gmail.com wrote: Hi Mark, I think a simple Google search would be faster. Anyway, an unified way for 3rd party authentication doesn't exist from my knowledge, but for Persona you could use the sample from mozilla github account https://github.com/mozilla/browserid-cookbook . Good luck, Sorin! On Tue, Apr 2, 2013 at 12:26 AM, Mark mark...@gmail.com wrote: Hi, I stumbled upon this payment library: http://ci-merchant.org/ which abstracts the different payment backends away and exposes a new easy to use interface for the app developer to use. Thus making it very easy to use different payment providers. I was wondering if something like that is also existing for authentication? For example, in authentication you have quite a few different ones: - Mozilla Persona - openid - facebook connect - google (openid?) - use/pass based authentication (a.k.a. the self made version that every dev begins with) - oauth - twitter connect - etc... Is there such a library in existence? I'm especially looking for one with mozilla persona implemented. Kind regards, Mark -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php -- Badea Sorin (unu.sorin) sorin.bade...@gmail.com unu_so...@yahoo.com Pagina personala: http://badeasorin.com I couldn't find it on google thus i asked in the one place where - if it exists - people would probably know. I find it quite surprising that a library like this isn't in existence yet. I can imagine tons of sites would certainly benefit from having one generic interface to use. Anyway, thank you for your pointer and reply. If you (or anyone else) finds a lib for this, please don't hesitate to post it in here. :) -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] Is there a PHP based authentication library?
Hi Bastien, That is indeed getting very close to what i was looking for. Thanks a lot! On Tue, Apr 2, 2013 at 9:46 PM, Bastien phps...@gmail.com wrote: Check out http://philsturgeon.co.uk/blog/2011/09/ninjauth-social-integration-php from Phil sturgeon. Bastien Koert On 2013-04-02, at 3:41 PM, Mark mark...@gmail.com wrote: Hi Andy, To be honest, that's also not what i'm looking for, but might be a good starting point to extend on. Depends on how you made it :) I cant promise that i'ill be working on it. I might be for some future project in my company but it might very well not happen as well. On Tue, Apr 2, 2013 at 2:08 AM, Andy McKenzie amckenz...@gmail.com wrote: I started building one at my last job, though it was part of a framework I was developing. I knew I was going to need to authenticate against both LDAP and old-fashioned database username/md5-password columns. (Ah, legacy user databases.) If it would be useful, I could dig out what I had and try to make it into a stand-alone set of functions, but I never got further than those two options. Basically there was a script that took in a username and password from a web form, then looked at a config file to decide which set of the sub-functions to use. For a DB, it checked to see if the username and hashed password matched a row in the database; for LDAP, it did some re-encoding to handle the weird encrypt that our OpenLDAP server used, then ran through the process of checking to see if the user actually had that as their password. Like I said, let me know if anyone wants to see it... I'm unemployed right now, and a project to work on this week (or next... this week is kind of busy) might be a good thing. -Andy McKenzie On Mon, Apr 1, 2013 at 6:49 PM, Mark mark...@gmail.com wrote: On Tue, Apr 2, 2013 at 12:27 AM, Sorin Badea sorin.bade...@gmail.com wrote: Hi Mark, I think a simple Google search would be faster. Anyway, an unified way for 3rd party authentication doesn't exist from my knowledge, but for Persona you could use the sample from mozilla github account https://github.com/mozilla/browserid-cookbook . Good luck, Sorin! On Tue, Apr 2, 2013 at 12:26 AM, Mark mark...@gmail.com wrote: Hi, I stumbled upon this payment library: http://ci-merchant.org/ which abstracts the different payment backends away and exposes a new easy to use interface for the app developer to use. Thus making it very easy to use different payment providers. I was wondering if something like that is also existing for authentication? For example, in authentication you have quite a few different ones: - Mozilla Persona - openid - facebook connect - google (openid?) - use/pass based authentication (a.k.a. the self made version that every dev begins with) - oauth - twitter connect - etc... Is there such a library in existence? I'm especially looking for one with mozilla persona implemented. Kind regards, Mark -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php -- Badea Sorin (unu.sorin) sorin.bade...@gmail.com unu_so...@yahoo.com Pagina personala: http://badeasorin.com I couldn't find it on google thus i asked in the one place where - if it exists - people would probably know. I find it quite surprising that a library like this isn't in existence yet. I can imagine tons of sites would certainly benefit from having one generic interface to use. Anyway, thank you for your pointer and reply. If you (or anyone else) finds a lib for this, please don't hesitate to post it in here. :) -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] Is there a PHP based authentication library?
On Tue, Apr 2, 2013 at 3:35 PM, Mark mark...@gmail.com wrote: Hi Bastien, That is indeed getting very close to what i was looking for. Thanks a lot! I've just finished up a project using simpleSamlPhp. http://simplesamlphp.org/ There's quite a few modules, but I've only used the SAML one, so YMMV. -nathan bash-3.2$ ls -1 modules/ InfoCard adfs aggregator aggregator2 aselect authX509 authYubiKey authcrypt authfacebook authlinkedin authmyspace authorize authtwitter authwindowslive autotest cas casserver cdc consent consentAdmin consentSimpleAdmin core cron discopower exampleattributeserver exampleauth expirycheck ldap logpeek memcacheMonitor metaedit metarefresh modinfo multiauth negotiate oauth openid openidProvider papi portal preprodwarning radius riak saml saml2debug sanitycheck smartnameattribute sqlauth statistics themefeidernd
Re: [PHP] Is there a PHP based authentication library?
On Mon, Apr 1, 2013 at 5:26 PM, Mark mark...@gmail.com wrote: Hi, I stumbled upon this payment library: http://ci-merchant.org/ which abstracts the different payment backends away and exposes a new easy to use interface for the app developer to use. Thus making it very easy to use different payment providers. I was wondering if something like that is also existing for authentication? For example, in authentication you have quite a few different ones: - Mozilla Persona - openid - facebook connect - google (openid?) - use/pass based authentication (a.k.a. the self made version that every dev begins with) - oauth - twitter connect - etc... Is there such a library in existence? I'm especially looking for one with mozilla persona implemented. Kind regards, Mark -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php https://github.com/openid/php-openid
Re: [PHP] Is there a PHP based authentication library?
Hi Mark, I think a simple Google search would be faster. Anyway, an unified way for 3rd party authentication doesn't exist from my knowledge, but for Persona you could use the sample from mozilla github account https://github.com/mozilla/browserid-cookbook . Good luck, Sorin! On Tue, Apr 2, 2013 at 12:26 AM, Mark mark...@gmail.com wrote: Hi, I stumbled upon this payment library: http://ci-merchant.org/ which abstracts the different payment backends away and exposes a new easy to use interface for the app developer to use. Thus making it very easy to use different payment providers. I was wondering if something like that is also existing for authentication? For example, in authentication you have quite a few different ones: - Mozilla Persona - openid - facebook connect - google (openid?) - use/pass based authentication (a.k.a. the self made version that every dev begins with) - oauth - twitter connect - etc... Is there such a library in existence? I'm especially looking for one with mozilla persona implemented. Kind regards, Mark -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php -- Badea Sorin (unu.sorin) sorin.bade...@gmail.com unu_so...@yahoo.com Pagina personala: http://badeasorin.com
Re: [PHP] Is there a PHP based authentication library?
On Tue, Apr 2, 2013 at 12:25 AM, David OBrien dgobr...@gmail.com wrote: On Mon, Apr 1, 2013 at 5:26 PM, Mark mark...@gmail.com wrote: Hi, I stumbled upon this payment library: http://ci-merchant.org/ which abstracts the different payment backends away and exposes a new easy to use interface for the app developer to use. Thus making it very easy to use different payment providers. I was wondering if something like that is also existing for authentication? For example, in authentication you have quite a few different ones: - Mozilla Persona - openid - facebook connect - google (openid?) - use/pass based authentication (a.k.a. the self made version that every dev begins with) - oauth - twitter connect - etc... Is there such a library in existence? I'm especially looking for one with mozilla persona implemented. Kind regards, Mark -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php https://github.com/openid/php-openid That's OpenID only. What i meant is one library with some plugin structure where you can add in a plugin for each authentication method. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] Is there a PHP based authentication library?
On Tue, Apr 2, 2013 at 12:27 AM, Sorin Badea sorin.bade...@gmail.com wrote: Hi Mark, I think a simple Google search would be faster. Anyway, an unified way for 3rd party authentication doesn't exist from my knowledge, but for Persona you could use the sample from mozilla github account https://github.com/mozilla/browserid-cookbook . Good luck, Sorin! On Tue, Apr 2, 2013 at 12:26 AM, Mark mark...@gmail.com wrote: Hi, I stumbled upon this payment library: http://ci-merchant.org/ which abstracts the different payment backends away and exposes a new easy to use interface for the app developer to use. Thus making it very easy to use different payment providers. I was wondering if something like that is also existing for authentication? For example, in authentication you have quite a few different ones: - Mozilla Persona - openid - facebook connect - google (openid?) - use/pass based authentication (a.k.a. the self made version that every dev begins with) - oauth - twitter connect - etc... Is there such a library in existence? I'm especially looking for one with mozilla persona implemented. Kind regards, Mark -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php -- Badea Sorin (unu.sorin) sorin.bade...@gmail.com unu_so...@yahoo.com Pagina personala: http://badeasorin.com I couldn't find it on google thus i asked in the one place where - if it exists - people would probably know. I find it quite surprising that a library like this isn't in existence yet. I can imagine tons of sites would certainly benefit from having one generic interface to use. Anyway, thank you for your pointer and reply. If you (or anyone else) finds a lib for this, please don't hesitate to post it in here. :) -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] Is there a PHP based authentication library?
I started building one at my last job, though it was part of a framework I was developing. I knew I was going to need to authenticate against both LDAP and old-fashioned database username/md5-password columns. (Ah, legacy user databases.) If it would be useful, I could dig out what I had and try to make it into a stand-alone set of functions, but I never got further than those two options. Basically there was a script that took in a username and password from a web form, then looked at a config file to decide which set of the sub-functions to use. For a DB, it checked to see if the username and hashed password matched a row in the database; for LDAP, it did some re-encoding to handle the weird encrypt that our OpenLDAP server used, then ran through the process of checking to see if the user actually had that as their password. Like I said, let me know if anyone wants to see it... I'm unemployed right now, and a project to work on this week (or next... this week is kind of busy) might be a good thing. -Andy McKenzie On Mon, Apr 1, 2013 at 6:49 PM, Mark mark...@gmail.com wrote: On Tue, Apr 2, 2013 at 12:27 AM, Sorin Badea sorin.bade...@gmail.com wrote: Hi Mark, I think a simple Google search would be faster. Anyway, an unified way for 3rd party authentication doesn't exist from my knowledge, but for Persona you could use the sample from mozilla github account https://github.com/mozilla/browserid-cookbook . Good luck, Sorin! On Tue, Apr 2, 2013 at 12:26 AM, Mark mark...@gmail.com wrote: Hi, I stumbled upon this payment library: http://ci-merchant.org/ which abstracts the different payment backends away and exposes a new easy to use interface for the app developer to use. Thus making it very easy to use different payment providers. I was wondering if something like that is also existing for authentication? For example, in authentication you have quite a few different ones: - Mozilla Persona - openid - facebook connect - google (openid?) - use/pass based authentication (a.k.a. the self made version that every dev begins with) - oauth - twitter connect - etc... Is there such a library in existence? I'm especially looking for one with mozilla persona implemented. Kind regards, Mark -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php -- Badea Sorin (unu.sorin) sorin.bade...@gmail.com unu_so...@yahoo.com Pagina personala: http://badeasorin.com I couldn't find it on google thus i asked in the one place where - if it exists - people would probably know. I find it quite surprising that a library like this isn't in existence yet. I can imagine tons of sites would certainly benefit from having one generic interface to use. Anyway, thank you for your pointer and reply. If you (or anyone else) finds a lib for this, please don't hesitate to post it in here. :) -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php