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:
parent
337b6c1439
commit
ed74a459a7
|
@ -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.");
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue