forceauthn and allowcreate support#151
forceauthn and allowcreate support#151knaperek merged 1 commit intoIdentityPython:masterfrom peppelinux:forceauthn_allowcreate
Conversation
|
Could you provide links to the pysaml2 docs about what features this enables, and also enhance the djangosaml2 docs with this info? Thanks! |
|
This way we can put in SAML_CONFIG['service']['sp']: to have a SAML request with ForceAuthn and AllowCreate.... Those parameters are SAML standards. pySAML2 documentation here:
I made these patches with the help of python debugger. |
|
@sheilatron here @c00kiemon5ter merged this documentation. It's available into the source project but not yet compiled into readthedocs |
|
@knaperek would you be interested also to this PR? then allow create for a better SAML2 compliance |
|
Sure, please rebase and I'll merge it. Thanks. |
|
rebased, good to see you back on this project |
|
allow create available into official pysaml2 documentation too: from this commit |
ForceAuthn and AllowCreate support in djangosaml2, enable this features in authnRequest.
This also introduce kwargs, usefull to generalize other arguments in pySAML2 calls.
now when we configure
force_authnandname_id_format_allow_createin pySAML2 sp configuration, the authn requests will manage them.Example: