Skip to content

Commit ca85bef

Browse files
committed
Getting client_secret was broken.
1 parent 25358a4 commit ca85bef

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/idpyoidc/client/oauth2/stand_alone_client.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -261,7 +261,7 @@ def get_tokens(self, state):
261261
"redirect_uri": _claims["redirect_uri"],
262262
"grant_type": "authorization_code",
263263
"client_id": self.get_client_id(),
264-
"client_secret": _context.get("client_secret"),
264+
"client_secret": _context.claims.get_usage("client_secret"),
265265
}
266266
logger.debug("request_args: {}".format(req_args))
267267
try:

0 commit comments

Comments
 (0)