summaryrefslogtreecommitdiffstats
path: root/php/Attic/examples/login.php
diff options
context:
space:
mode:
authorEmmanuel Raviart <eraviart@entrouvert.com>2004-08-21 17:38:59 +0000
committerEmmanuel Raviart <eraviart@entrouvert.com>2004-08-21 17:38:59 +0000
commit45590d268792b61e1b3bda353334a0d0a5f9e6d5 (patch)
tree91cc2a56ba517957918afd4659f562137d7626fb /php/Attic/examples/login.php
parent5dc6f94ffd3bbf0d45559068c86da4247bd454e8 (diff)
Updated "Writing a SP" doc & PHP binding to Lasso API change.
Diffstat (limited to 'php/Attic/examples/login.php')
-rw-r--r--php/Attic/examples/login.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/php/Attic/examples/login.php b/php/Attic/examples/login.php
index d0b61933..d82c20ed 100644
--- a/php/Attic/examples/login.php
+++ b/php/Attic/examples/login.php
@@ -20,7 +20,7 @@
# Create AuthnRequest
- lasso_login_init_authn_request($splogin, "https://identity-provider:2003/liberty-alliance/metadata");
+ lasso_login_init_authn_request($splogin, lassoHttpMethodRedirect);
$profile = lasso_cast_to_profile($splogin);
@@ -34,7 +34,7 @@
lasso_lib_authn_request_set_relaystate($lib_authn_request, "fake");
lasso_lib_authn_request_set_protocolprofile($lib_authn_request, lassoLibProtocolProfileBrwsArt);
- lasso_login_build_authn_request_msg($splogin, lassoHttpMethodRedirect);
+ lasso_login_build_authn_request_msg($splogin, "https://identity-provider:2003/liberty-alliance/metadata");
print "msg_url : " . lasso_profile_get_msg_url($profile) . "\n";
print "msg_body : " . lasso_profile_get_msg_body($profile) . "\n";