Skip to content

Commit ea1872a

Browse files
fix: Reapply current JWT before executing offlineQueue requests (#744)
Reapply current JWT before executing offlineQueue requests. Since the final user could use the authenticator with a short JWT TTL or being disconnected for a big amount of time from his Kuzzle backend.
1 parent 78ee3e1 commit ea1872a

File tree

6 files changed

+290
-69
lines changed

6 files changed

+290
-69
lines changed

.ci/doc/config.yml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
---
2-
32
snippets:
43
mount: /mnt
54
path: doc/**/snippets/*.test.yml
@@ -24,7 +23,7 @@ runners:
2423
path: /var/snippets/web
2524
lint:
2625
global: true
27-
cmd: eslint -c /mnt/.ci/doc/eslint.json {{ snippet.dir }}/*.html
26+
cmd: eslint -c /mnt/.ci/doc/eslint.json --parser-options ecmaVersion:12 {{ snippet.dir }}/*.html
2827
before: timeout 600 bash -c 'until stat /tmp/runner_ready_to_lint; do sleep 1; done'
2928
run:
3029
cmd: node puppeteer.js {{ snippet.dir }}/{{ snippet.source }}

.ci/doc/docker-compose.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ services:
4444
- CONFIG_FILE=/mnt/.ci/doc/config.yml
4545

4646
doc-runner-node:
47-
image: node:12-alpine
47+
image: node:18-alpine
4848
command: >
4949
ash -c '
5050
mkdir -p /var/snippets/node;

0 commit comments

Comments
 (0)