Skip to content

Commit 7355470

Browse files
committed
fix usage of OIDCSessionType client-cookie:persistent:store_id_token
see #1331; thanks @rgcv Signed-off-by: Hans Zandbelt <[email protected]>
1 parent 8a4fae5 commit 7355470

File tree

3 files changed

+5
-1
lines changed

3 files changed

+5
-1
lines changed

AUTHORS

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -96,3 +96,4 @@ reporting bugs, providing fixes, suggesting useful features or other:
9696
Dmitrii Ermakov <https://github.com/ErmakovDmitriy>
9797
tarteens <https://github.com/tarteens>
9898
Atzm WATANABE <https://github.com/atzm>
99+
Rui Ventura <https://github.com/rgcv>

ChangeLog

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
06/18/2025
2+
- fix usage of OIDCSessionType client-cookie:persistent:store_id_token; see #1331; thanks @rgcv
3+
14
05/27/2025
25
- fix usage of OIDCPreservePostTemplates, regression in 2.4.17; see #1325; thanks @perry19987
36
- javascript: use HTMLFormElement.prototype.submit.call(document.forms[0]) on all Javascript

src/cfg/cfg.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -195,7 +195,7 @@ const char *oidc_cmd_session_type_set(cmd_parms *cmd, void *ptr, const char *arg
195195
} else if (_oidc_strcmp(p, OIDC_SESSION_TYPE_STORE_ID_TOKEN) == 0) {
196196
// only for client-cookie
197197
cfg->store_id_token = 1;
198-
} else if (_oidc_strcmp(p, OIDC_SESSION_TYPE_SEPARATOR OIDC_SESSION_TYPE_PERSISTENT
198+
} else if (_oidc_strcmp(p, OIDC_SESSION_TYPE_PERSISTENT
199199
OIDC_SESSION_TYPE_SEPARATOR OIDC_SESSION_TYPE_STORE_ID_TOKEN) == 0) {
200200
// only for client-cookie
201201
cfg->persistent_session_cookie = 1;

0 commit comments

Comments
 (0)