Making urn:oasis:names:tc:SAML:2.0:nameid-format:unspecified a supportable identifier format
Alain O'Dea
alain.odea at gmail.com
Thu Jun 11 21:43:35 EDT 2015
On 11 June 2015 at 23:04, Cantor, Scott <cantor.2 at osu.edu> wrote:
> On 6/11/15, 9:30 PM, "users on behalf of Alain O'Dea" <
> users-bounces at shibboleth.net on behalf of alain.odea at gmail.com> wrote:
> >
> >I changed the SP to request
> urn:oasis:names:tc:SAML:1.1:nameid-format:emailAddress as mentioned in the
> SAML 2.0 spec line 3285 and I get the following:
> >
> > WARN [org.opensaml.saml.saml2.profile.impl.AddNameIDToSubjects:337] -
> Profile Action AddNameIDToSubjects: Request specified use of an
> unsupportable identifier format:
> urn:oasis:names:tc:SAML:1.1:nameid-format:emailAddress
>
> Because your resolver isn't encoding anything to that format.
>
> When the SP indicates it wants a format (other than unspecified) and the
> IdP doesn't know how to produce it, that's the error you get.
>
> If this is V3, you don't use the resolver to generate a NameID, you use
> saml-nameid.xml to do that [1]. The underlying data can and usually does
> come from the resolver, but the NameID part is handled explicitly and
> separately.
>
Yes I am using IDP3. I'm going to stick to the default transient
identifiers and having my SP use attributes and not the NameID as you
recommended. I can't see a good reason to rewire the NameID generation now
since I control the SP and the other other IdPs I've looked at allow
sufficient attribute configuration to make this solution portable.
> -- Scott
>
> [1]
> https://wiki.shibboleth.net/confluence/display/IDP30/NameIDGenerationConfiguration
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://shibboleth.net/pipermail/users/attachments/20150611/b0ddc36c/attachment.html>
More information about the users
mailing list