# HG changeset patch # User Kim Alvefur # Date 1681291356 -7200 # Node ID cd195283127f76b6081475c663e8ece9927589af # Parent 6d99ddd99694d605eb0352e2d1bed9e5b16afba5 mod_http_oauth2: Fix table index error when using refresh token diff -r 6d99ddd99694 -r cd195283127f mod_http_oauth2/mod_http_oauth2.lua --- a/mod_http_oauth2/mod_http_oauth2.lua Tue Apr 11 15:59:35 2023 +0200 +++ b/mod_http_oauth2/mod_http_oauth2.lua Wed Apr 12 11:22:36 2023 +0200 @@ -366,7 +366,7 @@ refresh_token_info.token = params.refresh_token; return json.encode(new_access_token( - refresh_token_info.jid, refresh_token_info.role, refresh_token_info.data.oauth2_scopes, client, nil, refresh_token_info + refresh_token_info.jid, refresh_token_info.role, refresh_token_info.grant.data.oauth2_scopes, client, nil, refresh_token_info )); end