Fix nonce/scope typo

This commit is contained in:
Dmitry Telegin 2023-09-16 23:10:57 +01:00 committed by Marek Posolda
parent fcb91a83ba
commit 085d0d73c9

View file

@ -1057,7 +1057,7 @@ public class OAuthClient {
parameters.add(new BasicNameValuePair(OAuth2Constants.SCOPE, scopeParam));
}
if (nonce != null) {
parameters.add(new BasicNameValuePair(OIDCLoginProtocol.NONCE_PARAM, scope));
parameters.add(new BasicNameValuePair(OIDCLoginProtocol.NONCE_PARAM, nonce));
}
if (codeChallenge != null) {
parameters.add(new BasicNameValuePair(OAuth2Constants.CODE_CHALLENGE, codeChallenge));