Skip to content
Snippets Groups Projects
Commit 8880cf49 authored by Vincent Rioux's avatar Vincent Rioux Committed by GitHub
Browse files

Add explanation of regex-based consent.disable

parent e20a75b3
No related branches found
No related tags found
No related merge requests found
...@@ -232,6 +232,21 @@ Disable consent for some IdPs for a given SP: ...@@ -232,6 +232,21 @@ Disable consent for some IdPs for a given SP:
), ),
), ),
### Regular expression support ###
You can use regular expressions to evaluate the entityId of either the IdP
or the SP. It makes it easy to disable consent for an entire domain or
for a range of specific entityIds. Just use an array instead of a flat string
with the following format (note that flat string and array entries are allowed
at the same time) :
$metadata['https://sp.example.org'] = array(
[...]
'consent.disable' => array(
'https://idp1.example.org/',
array('type'=>'regex', 'pattern'=>'/.*\.mycompany\.com.*/i',
),
),
Attribute presentation Attribute presentation
---------------------- ----------------------
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment