You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+6-1Lines changed: 6 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -132,6 +132,8 @@ In production, the **strict** parameter MUST be set as **"true"**. Otherwise
132
132
your environment is not secure and will be exposed to attacks.
133
133
134
134
135
+
In production also we highly recommend to register on the settings the IdP certificate instead of using the fingerprint method. The fingerprint, is a hash, so at the end is open to a collision attack that can end on a signature validation bypass. Other SAML toolkits deprecated that mechanism, we maintain it for compatibility and also to be used on test environment.
136
+
135
137
Getting started
136
138
---------------
137
139
@@ -326,7 +328,9 @@ This is the settings.json file:
326
328
"x509cert":"<onelogin_connector_cert>"
327
329
/*
328
330
* Instead of using the whole x509cert you can use a fingerprint in order to
329
-
* validate a SAMLResponse, but you will need it to validate LogoutRequest and LogoutResponse using the HTTP-Redirect binding.
331
+
* validate a SAMLResponse (but you still need the x509cert to validate LogoutRequest and LogoutResponse using the HTTP-Redirect binding).
332
+
* But take in mind that the fingerprint, is a hash, so at the end is open to a collision attack that can end on a signature validation bypass,
333
+
* that why we don't recommend it use for production environments.
330
334
*
331
335
* (openssl x509 -noout -fingerprint -in "idp.crt" to generate it,
332
336
* or add for example the -sha256 , -sha384 or -sha512 parameter)
@@ -337,6 +341,7 @@ This is the settings.json file:
337
341
*
338
342
* Notice that if you want to validate any SAML Message sent by the HTTP-Redirect binding, you
0 commit comments