Update OIDCIdentityProvider.java
This commit is contained in:
parent
a830818a84
commit
26c166d965
1 changed files with 1 additions and 1 deletions
|
@ -543,7 +543,7 @@ public class OIDCIdentityProvider extends AbstractOAuth2IdentityProvider<OIDCIde
|
|||
}
|
||||
|
||||
if (!ignoreAudience && (token.getIssuedFor() != null && !getConfig().getClientId().equals(token.getIssuedFor()))) {
|
||||
throw new IdentityBrokerException("Token not issued for client [" + getConfig().getClientId() + "]");
|
||||
throw new IdentityBrokerException("Token issued for does not match client id");
|
||||
}
|
||||
|
||||
String trustedIssuers = getConfig().getIssuer();
|
||||
|
|
Loading…
Reference in a new issue