mirror of
https://github.com/GravitLauncher/Launcher
synced 2024-11-15 03:31:15 +03:00
[FIX] Fix OpenID access token validation (#712)
Co-authored-by: d3coder <admin@xakeps.dk>
This commit is contained in:
parent
c9a81da60c
commit
7c637e078d
1 changed files with 1 additions and 1 deletions
|
@ -39,7 +39,7 @@ public OpenIDAuthenticator(OpenIDConfig openIDConfig) {
|
||||||
this.jwtParser = Jwts.parser()
|
this.jwtParser = Jwts.parser()
|
||||||
.keyLocator(keyLocator)
|
.keyLocator(keyLocator)
|
||||||
.requireIssuer(openIDConfig.issuer())
|
.requireIssuer(openIDConfig.issuer())
|
||||||
.requireAudience(openIDConfig.clientId())
|
.require("azp", openIDConfig.clientId())
|
||||||
.build();
|
.build();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue