-
Notifications
You must be signed in to change notification settings - Fork 10
Field to toggle auth request signing #28
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
Conversation
"fields": ( | ||
"contact_name", | ||
"contact_email", | ||
"authn_requests_signed", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This should be down in the "Advanced" group below.
contact_name = models.CharField(max_length=100) | ||
contact_email = models.EmailField(max_length=100) | ||
|
||
authn_requests_signed = models.BooleanField( |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Minor quibble, but can you put this down by the logout_request_signed
and logout_response_signed
fields?
sp/models.py
Outdated
"security": { | ||
"wantAttributeStatement": self.require_attributes, | ||
"metadataValidUntil": self.certificate_expires, | ||
"authnRequestsSigned": self., |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think you missed something here 😄
|
||
def metadata(request, **kwargs): | ||
idp = get_request_idp(request, **kwargs) | ||
print(idp.sp_settings) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Let's remove this
By default the auth request signing field is set to False. Added a checkbox to allow configuring the setting.