Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
My organization had a need because our site is both public and private to be able to limit single sign on to only occur if you belong to our internal IP address range. Otherwise you need to authenticate normally. So here is a patch that adds that functionality for a variety of IP range options. Sorry I don't know how to write tests so this does not include them.
Comment | File | Size | Author |
---|---|---|---|
#2 | ldap-included-ip-sso-1992130-2.patch | 8.26 KB | Agileware |
ldap-included-ip-sso.patch | 8.27 KB | haydeniv |
Comments
Comment #1
johnbarclay CreditAttribution: johnbarclay commentedthis looks like a good patch. I'm avoiding SSO committs since I'm not on top of it.
Comment #2
Agileware CreditAttribution: Agileware commentedDoesn't apply on 7.x-2.0-beta8
I've manually added the rejected hunks and re-rolled the patch.
Comment #3
larowlancouple of trailing whitespaces here
The function name should be ldap_sso_ip_excluded_for_sso based on the signature and comment
this needs tests
Comment #4
grahlComment #8
grahlComment #9
grahlSetting to 8.x and postponed since no one has shown recent interest in this.
Comment #10
grahlNo interest in 4+ years, closing.