Google Apps with IdP v3 not working

Dave Perry Dave.Perry at hull-college.ac.uk
Thu Aug 20 05:45:57 EDT 2015


I have copy/pasted my Idp v2 settings over to the v3 attribute-resolver and attribute-filter config files, and amended the URL Google Apps tries to interact to our IdP with, and it clearly doesn’t work. I get the following error when hitting drive.google.com/a/ourdomain:

Google Apps - This account cannot be accessed because your credentials were not verified.
This account cannot be accessed because your credentials were not verified.
We are unable to process your request at this time, please try again later.


I thought it was the certificate I generated, as per google's instructions (both the DSA and RSA attempts gave the above result). Google’s rep told me on live chat:
“From what I can tell Dave this error does not seem to have an issue with the certificat​e itself, but the redirectio​n of how the SSO is incorrect because it does not seem to accept your credential​s. I'm really not sure where it's redirectin​g or what exactly is happening“

Here is my v2 config:
[filter]
<!--google apps-->
	<!--from Andy on mailing list:-->
	<afp:AttributeFilterPolicy id="google-principal">
         <afp:PolicyRequirementRule xsi:type="basic:AttributeRequesterString" value="google.com" />
         <afp:AttributeRule attributeID="g_principal">
             <afp:PermitValueRule xsi:type="basic:ANY" />
         </afp:AttributeRule>
     </afp:AttributeFilterPolicy>

[resolver]
<!--google apps signin (from v2 config)-->
	<resolver:AttributeDefinition xsi:type="ad:Simple" id="g_principal" sourceAttributeID="mail">
         <resolver:Dependency ref="myLDAP" />
         <resolver:AttributeEncoder xsi:type="enc:SAML2StringNameID" nameFormat="urn:oasis:names:tc:SAML:2.0:nameid-format:persistent"/>
     </resolver:AttributeDefinition>

On the Google SSO settings I have sign-in page URL = https://idprealworldurl/idp/profile/SAML2/Redirect/SSO (same as it was for v2, I just changed idprealworld as it's a slightly different address now).

Any pointers appreciated.

Thanks,
Dave
_________________________________________________
Dave Perry
eLearning Technologist, Hull College Group

Room L34 - Queens Gardens Library
Wilberforce Drive, Queen's Gardens, Hull, HU1 3DG
Extension 2230 / Direct Dial 01482 381930

* Need a fast reply? Try elearning at hull-college.ac.uk *


**********************************************************************
This message is sent in confidence for the addressee
only. It may  contain confidential or sensitive
information.  The contents are not to be disclosed
to anyone other than the addressee.  Unauthorised
recipients are requested to preserve this
confidentiality and to advise us of any errors in
transmission.  Any views expressed in this message
are solely the views of the individual and do not
represent the views of the College.  Nothing in this
message should be construed as creating a contract.

Hull College Group owns the email infrastructure, including the contents.

Hull College Group is committed to sustainability, please reflect before printing this email.
**********************************************************************

TEXT


More information about the users mailing list