[FIX] Fix OpenID access token validation (#712)

Co-authored-by: d3coder <admin@xakeps.dk>
This commit is contained in:
XakepSDK 2024-05-23 22:42:32 +05:00 committed by GitHub
parent c9a81da60c
commit 7c637e078d
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

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();
}