Multiple Providers MetaDataURL validation #1170
-
Hello, I have followed this wiki [1] and successfully configured multiple Providers. Thanks, Olivier [1] https://github.com/OpenIDC/mod_auth_openidc/wiki/Multiple-Providers [2] mod_auth_openidc/src/metadata.c Lines 253 to 262 in f47d819 |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 8 replies
-
you should able to rename the |
Beta Was this translation helpful? Give feedback.
-
Thanks for the very quick reply, Hans! Unfortunately, if I rename host:port/A/B/C/D (URL encoded) into host:port/A/B, OpenIDC module faiils to retrieve MetaData because https://host:port/A/B/.well-known/openid-configuration does not exist. Thanks, Olivier |
Beta Was this translation helpful? Give feedback.
not really: it would break OpenID Connect certification conformance; it is really the provider that is at fault here, it does not conform to the OpenID Connect Discovery spec and should be fixed; moreover, rather than using the wrong issuer, arguably it publishes the metadata at the wrong endpoint; the workaround is quite suitable here, it does not make any difference after the initial retrieval; also, I will consider removing support for
OIDCValidateIssuer Off
in the future as the time that mod_auth_openidc needs to adapt to broken providers is history by now