[FIX] Fix OpenID access token validation

This commit is contained in:
d3coder 2024-05-23 22:21:46 +05:00
parent 1cbaf4eea3
commit ca376e10cb

View file

@ -39,7 +39,7 @@ public OpenIDAuthenticator(OpenIDConfig openIDConfig) {
this.jwtParser = Jwts.parser()
.keyLocator(keyLocator)
.requireIssuer(openIDConfig.issuer())
.requireAudience(openIDConfig.clientId())
.require("azp", openIDConfig.clientId())
.build();
}