Issue #4138 - only warn if metadata issuer is not consistent with config

Signed-off-by: Lachlan Roberts <lachlan@webtide.com>
This commit is contained in:
Lachlan Roberts 2019-10-18 10:31:50 +11:00
parent 337b6c1439
commit ed74a459a7
1 changed files with 1 additions and 1 deletions

View File

@ -107,7 +107,7 @@ public class OpenIdConfiguration extends ContainerLifeCycle implements Serializa
throw new IllegalArgumentException("token_endpoint");
if (!Objects.equals(discoveryDocument.get("issuer"), issuer))
throw new IllegalArgumentException("The provider in the metadata is not correct.");
LOG.warn("The issuer in the metadata is not correct.");
}
}