GithubHelp home page GithubHelp logo

Comments (2)

rohe avatar rohe commented on August 20, 2024

8 okt 2014 kl. 12:43 skrev Patrick Brosi [email protected]:

we are still working on an implemenation of a Pyramid-based SAML SP via pysaml2. Our IdP uses MS-ADFS. Apparantly, ADFS is not entirely faithful to the SAML specification.

An old well known pattern when it comes to MS.

The attribute values specified in the token are missing the nameFormat XML-attribute. Example:

testtest

pysaml2 won't parse attributes without a specified nameFormat. We fixed the problem by falling back to urn:oasis:names:tc:SAML:2.0:attrname-format:uri if the nameFormat is missing. This is done by initializing the member name_format in the class AttributeType_ with NAME_FORMAT_URI by default (see commit geops/pysaml2@1fce6d1).

Is this a legitimate way to handle the problem of ADFS compatibility or do you think it could cause problems? If so, what do you think would be the preferred way to provide an ADFS compatibility mode?

I think it’s a very reasonable way of handling this.
I will add it to the main branch.

— Roland

”Being able to think like a child is an important attribute of being an adult” - Eddie Izzard

from pysaml2.

patrickbr avatar patrickbr commented on August 20, 2024

Perfect. I issued a pull request for this: #148

Thank you very much for your quick answer.

from pysaml2.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.