pythonauthenticationpyramidrepoze.who

Is pyramid_who (repoze.who) the preferred way to do authentication for pyramid?


I am just starting to learn Pyramid Framework. Is pyramid_who (repoze.who) the preferred way to do authentication?

What other options do I have?


Solution

  • pyramid_who is the best way to utilize repoze.who v2 for doing authentication. Whether this is the best authentication solution for you or not is dependent on your needs.

    Typically repoze.who is the best solution for doing SSO (single sign-on) solutions where you need to connect to a service like LDAP.

    If SSO is not a requirement, it is typically very simple to either use the pre-baked authentication solutions in pyramid such as AuthTkt, or to implement your own authentication policy.