Single-Sign-On-ish
Posted: Tue Nov 25, 2008 11:05 am
Hi there,
I'm in the process of building what can be called a single sign-on system, based on PHP. The idea is to store all the necessary systems credentials in an LDAP server and use PHP to retrieve and use them.
Typically, the authentication in the target application is made with an HTTP POST. I already know how to make the POST in PHP, my question is about what happens with cookies, user agent, etc.. The actual client here is the PHP server and not the client web browser. Is there a way to sort this out is PHP, that is, delegating the login process do PHP but make everything run as if it was the client browser making the request?
Thank you very much, cheers,
AP
I'm in the process of building what can be called a single sign-on system, based on PHP. The idea is to store all the necessary systems credentials in an LDAP server and use PHP to retrieve and use them.
Typically, the authentication in the target application is made with an HTTP POST. I already know how to make the POST in PHP, my question is about what happens with cookies, user agent, etc.. The actual client here is the PHP server and not the client web browser. Is there a way to sort this out is PHP, that is, delegating the login process do PHP but make everything run as if it was the client browser making the request?
Thank you very much, cheers,
AP