@@ -39,7 +39,6 @@ use OmniAuth::Strategies::SAML,
3939 :encryption => []
4040 },
4141 :idp_cert_fingerprint => " E7:91:B2:E1:..." ,
42- :idp_cert_fingerprint_validator => lambda { |fingerprint | fingerprint },
4342 :name_identifier_format => " urn:oasis:names:tc:SAML:1.1:nameid-format:emailAddress"
4443```
4544
@@ -66,7 +65,6 @@ Rails.application.config.middleware.use OmniAuth::Builder do
6665 :encryption => []
6766 },
6867 :idp_cert_fingerprint => " E7:91:B2:E1:..." ,
69- :idp_cert_fingerprint_validator => lambda { |fingerprint | fingerprint },
7068 :name_identifier_format => " urn:oasis:names:tc:SAML:1.1:nameid-format:emailAddress"
7169end
7270```
@@ -112,20 +110,16 @@ Note that when [integrating with Devise](#devise-integration), the URL path will
112110 ` original_param_value ` . Optional.
113111
114112* ` :idp_cert ` - The identity provider's certificate in PEM format. Takes precedence
115- over the fingerprint option below. This option or ` :idp_cert_multi ` or ` :idp_cert_fingerprint ` or ` :idp_cert_fingerprint_validator ` must
113+ over the fingerprint option below. This option or ` :idp_cert_multi ` or ` :idp_cert_fingerprint ` must
116114 be present.
117115
118116* ` :idp_cert_multi ` - Multiple identity provider certificates in PEM format. Takes precedence
119- over the fingerprint option below. This option ` :idp_cert ` or ` :idp_cert_fingerprint ` or ` :idp_cert_fingerprint_validator ` must
117+ over the fingerprint option below. This option ` :idp_cert ` or ` :idp_cert_fingerprint ` must
120118be present.
121119
122120* ` :idp_cert_fingerprint ` - The SHA1 fingerprint of the certificate, e.g.
123121 "90:CC:16:F0:8D:...". This is provided from the identity provider when setting up
124- the relationship. This option or ` :idp_cert ` or ` :idp_cert_multi ` or ` :idp_cert_fingerprint_validator ` MUST be present.
125-
126- * ` :idp_cert_fingerprint_validator ` - A lambda that MUST accept one parameter
127- (the fingerprint), verify if it is valid and return it if successful. This option
128- or ` :idp_cert ` or ` :idp_cert_multi ` or ` :idp_cert_fingerprint ` MUST be present.
122+ the relationship. This option or ` :idp_cert ` or ` :idp_cert_multi ` MUST be present.
129123
130124* ` :name_identifier_format ` - Used during SP-initiated SSO. Describes the format of
131125 the username required by this application. If you need the email address, use
0 commit comments