Skip to content

Commit 22d1439

Browse files
committed
oops: fix swapped source token and user params
Signed-off-by: Hans Zandbelt <[email protected]>
1 parent 76130ab commit 22d1439

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/liboauth2-sts

src/ngx_sts_module.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -353,7 +353,7 @@ static ngx_int_t ngx_sts_handler(ngx_http_request_t *r)
353353
oauth2_debug(ctx->log, "enter: source_token=%s, initial_request=%d",
354354
source_token, (r != r->main));
355355

356-
rc = sts_handler(ctx->log, cfg->cfg, NULL, source_token, &target_token,
356+
rc = sts_handler(ctx->log, cfg->cfg, source_token, NULL, &target_token,
357357
&status_code);
358358

359359
oauth2_debug(ctx->log, "target_token=%s (rc=%d)",

0 commit comments

Comments
 (0)