From the best of my knowledge (and other people can correct me):
You'll need two metadata files - saml20-idp-hosted.php and
saml20-sp-remote.php. I removed all the others. The saml20-sp-remote.php file
contains the information about SPs that can use your IDP. Mine has the
following entry in saml20-sp-remote.php:
'http://10.8.32.149/simplesaml/saml2/sp/metadata.php' => array (
'AssertionConsumerService' =>
'http://10.8.32.149/simplesaml/saml2/sp/AssertionConsumerService.php',
'SingleLogoutService' =>
'http://10.8.32.149/simplesaml/saml2/sp/SingleLogoutService.php',
),
> (2) if my domain is smithclubchicago.org, what do I set as
> the values below for $A and $B. i tried various combinations
> of the domain name and www to no avail, the only way i
> avoided error messages was to use '__DYNAMIC:1__' and
> '__DEFAULT__', respectively.
>
> // The SAML entity ID is the index of this config.
> $A => array(
>
> // The hostname of the server (VHOST) that this SAML
> entity will use.
> $B => 'sp.example.org',
Here's mine:
// The SAML entity ID is the index of this config.
'http://essaml1.moe.govt.nz/simplesamlphp_1_3/www/' => array(
// The hostname of the server (VHOST) that this SAML entity
will use.
'host' =>
'essaml1.moe.govt.nz',
// X.509 key and certificate. Relative to the cert directory.
'privatekey' => 'server.pem',
'certificate' => 'server.crt',
// Authentication plugin to use. login.php is the default one
that uses LDAP.
'auth' => 'auth/login-auto.php'
)
> (3) when i enter the url "http://mail.smithclubchicago.org" i
> am redirected to
>
> http://www.smithclubchicago.org/simplesaml/auth/login.php?Rela
yState=http%3A%2F%2Fwww.smithclubchicago.org%2Fsimplesaml%>
2Fsaml2%2Fidp%2FSSOService.php%3FRequestID%3D_98a5917c0bd3a2b2
9f2a9f0dbe7690b09d6079c566&AuthId=_>
98a5917c0bd3a2b29f2a9f0dbe7690b09d6079c566&protocol=saml2
>
> after i enter a valid username and password, i am redirected
> to http://www.smithclubchicago.org/simplesaml/auth/login.php?
> and then have a blank screen. i am not sure what to do at this point.
Can't help you with this one sorry.
> thank you for any suggestions or advice,
>
> eric truett
Regards,
Waylon Kenning
Assistant Business Systems Analyst
New Zealand Ministry of Education.
DISCLAIMER
This e-mail is intended for the addressee only and may contain information which is subject to legal privilege. The contents are not necessarily the official view or communication of the Ministry of Education. If you are not the intended recipient you must not use, disclose, copy or distribute this e-mail or any information in, or attached to it. If you have received this e-mail in error, please contact the sender immediately or return the original message to the Ministry by e-mail, and destroy any copies. The Ministry does not accept any liability for changes made to this e-mail or attachments after sending.
All e-mails have been scanned for viruses and content by security software. The Ministry reserves the right to monitor all e-mail communications through its network.
Yes, SAML and web single sign-on are not much fun without at least a
second site ;)
cheers,
-peter
then do I need to modify the files saml20-sp-remote.php and saml20-sp-
hosted.php in the metadata directory or should I remove them?
(2) if my domain is smithclubchicago.org, what do I set as the values
below for $A and $B. i tried various combinations of the domain name
and www to no avail, the only way i avoided error messages was to use
'__DYNAMIC:1__' and '__DEFAULT__', respectively.
after i enter a valid username and password, i am redirected to
http://www.smithclubchicago.org/simplesaml/auth/login.php? and then
have a blank screen. i am not sure what to do at this point.
thank you for any suggestions or advice,
> i realized that two parties are involved. however, there were 4 saml20
> files in the metadata directory, and it was not obvious that you
> needed to pair saml20-idp-hosted.php with saml20-sp-remote.php,
> instead of pairing saml20-idp-hosted.php with saml20-idp-remote.php.
Yup, I know all the metadata stuff is very confusing. But I am not
sure how we can make it simpler, any suggestions would be very
welcome!!!
Right now, the documentation of google apps IdP says:
"If you want to setup a SAML 2.0 IdP for Google Apps, you need to
configure two metadata files: saml20-idp-hosted.php andsaml20-sp-
remote.php."
https://rnd.feide.no/content/simplesamlphp-idp-google-apps-education
I've done some steps to make it simpler, with __DYANMIC__ and
__DEFAULT__, which will give good default values, and require less
metadata changes. I may not have documented this good enough yet. I'll
try to make time to do a major revision of the documentation any time
very soon.
Andreas
--
Andreas Åkre Solberg
=andreas
http://rnd.feide.no
> I have been trying to configure SimpleSaml as the SSO provider for
> google apps too, and encountered a weird bug where the initial login
> was a blank screen, though if I returned to the google site again, I
> was actually logged in. It seemed /very/ difficult to track down, and
> I wasn't really sure where to start debugging (I had looked at all the
> administrative diagnostic screends, and everything checked out).
Did you get a blank page in your simplesamlphp installation or at
google apps :)
If you get the blank screen in simplesaml it will be alot easier to
debug :D
Do you still have the setup, and are able to do some debug steps? Do
you have the installation available from outside (for me to test)?
Have you checked the Apache error log for error messages?