requiring multiple claims with multi OP setup
zandbelt opened this issue · 10 comments
Discussed in #770
Originally posted by rajeevn1 January 16, 2022
I am using 2.4.10-1~bullseye+1 release from github with multiple providers (google, globus, gitlab).
The following works
<RequireAll>
# Require not claim email_verified:false
Require claim email~^(test1@gmail.com|test2@gmail.com)$
</RequireAll>
but when I un-comment the claim for email_verified, the authentication always fails. I have confirmed that email_verified claim, as provided by OP, is either set to true (google, gitlab), or is missing (globus).
The issue does not exist if I use any single provider setup.
I would appreciate any help in resolving the issue.
please try this branch: https://github.com/zmartzone/mod_auth_openidc/tree/fix_discovery_require_all_authz
that seemed to be different issue with regular expressions, which should be fixed now on the same branch; please confirm
now it works when OIDCDiscoverURL is not defined (it shows internal page), but with OIDCDiscoverURL defined to a custom URL it just shows a blank page.
sorry, that was an oversight in the earlier patch, corrected that now
It works for me now.
Thank you.
It still works for me. Thanks.