SP: Assertion contains an unacceptable AudienceRestriction
putmanb at georgetown.edu
Fri Aug 14 15:04:34 EDT 2015
On 8/14/15 12:40 PM, Scott Gerlach wrote:
So this is the actual SAML request from your SP to Okta's IdP?
> And following the 302 to the location, this is the SAML data that
> goes with it
> <samlp:AuthnRequest xmlns:samlp="urn:oasis:names:tc:SAML:2.0:protocol"
> <samlp:NameIDPolicy AllowCreate="1" />
And where exactly did you get this?
Just to be clear here: That AuthnRequest XML there is NOT what is in
the AuthnRequest in the Redirect binding above after it's decoded (i.e.
it's not myserver.com). I assume you are trying to obfuscate your
actual server name, etc? Out of respect for that, I won't post it here
- but you sort of already did, since decoding the Redirect binding
above is trivial.
Scott was asking for this info in order to compare the actual values
being sent by the SP as request Issuer and then seen in the resulting
Assertion. As mentioned earlier, even a single character typo,
trailing slash, missing/added default port, case differences, etc will
cause this to fail. So if you're manually obfuscating things, that may
also just be obfuscating the actual problem, if you aren't being
exactly 100% precise in your transformations.
OTOH, if you're saying that the issued Assertion literally contains as
audience the string "https://myserver.com", then I have no idea what's
going on, since that's not what's in the actual AuthnRequest above (and
have no idea how/where you got that 2nd XML snippet).
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the users