Skip to content

Commit 76130ab

Browse files
committed
3.0.2: update liboauth2-sts to include r->user in sts_handler
Signed-off-by: Hans Zandbelt <[email protected]>
1 parent f6484b8 commit 76130ab

File tree

4 files changed

+7
-3
lines changed

4 files changed

+7
-3
lines changed

ChangeLog

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
07/17/2019
2+
- update liboauth2-sts to include r->user in sts_handler (not used for NGINX right now)
3+
- version 3.0.2
4+
15
07/03/2019
26
- return status code from STS call: if > 500 (504 = gateway timeout)
37
- bump liboauth2 dependency to 1.1.1

configure.ac

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
AC_INIT([ngx_sts_module],[3.0.1],[[email protected]])
1+
AC_INIT([ngx_sts_module],[3.0.2],[[email protected]])
22

33
AM_INIT_AUTOMAKE([foreign no-define subdir-objects])
44
AC_CONFIG_MACRO_DIRS([m4])

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, source_token, &target_token,
356+
rc = sts_handler(ctx->log, cfg->cfg, NULL, source_token, &target_token,
357357
&status_code);
358358

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

0 commit comments

Comments
 (0)