Commit 0964ccc
authored
feat: [MC-690] Separate Pocket dev and prod JWK key ids (#361)
* feat: [MC-690] use different keys in Pocket-Dev
* chore: use --elv2-license accept in start:dev
* chore: fix lint errors in test
* wip: try to get test coverage for prod key ids
* fix: test for getSigningKeysFromServer mock env
* chore: clean up tests
* fix: lint errors
* fix: try to fix errors in Github superlinter
* fix: try to upgrade superlinter eslint
* fix: Failed to get [GITHUB_TOKEN]
* fix: lint error
* fix attempt: secret or public key must be provided
Possibly admin-api can't find the key id when it's not cached..?
Locally it works fine, but on Pocket-Dev the following error occurs for the same
request:
Context creation failed: Could not validate User: secret or public key must be provided
* fix: NODE_ENV should be development in Pocket-Dev
I pulled the latest image from Pocket-Dev and it's set to production
# echo $NODE_ENV
production
* fix: distinguish development (Pocket-Dev) from local dev
* chore: re-run checks
Required 'Lint Code Base' failed to run.
* fix: linter error1 parent 77741cb commit 0964ccc
File tree
14 files changed
+969
-808
lines changed- .aws/src
- .github/workflows
- src
- server
14 files changed
+969
-808
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
98 | 98 | | |
99 | 99 | | |
100 | 100 | | |
101 | | - | |
| 101 | + | |
102 | 102 | | |
103 | 103 | | |
104 | 104 | | |
| |||
147 | 147 | | |
148 | 148 | | |
149 | 149 | | |
150 | | - | |
| 150 | + | |
151 | 151 | | |
152 | 152 | | |
153 | 153 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
36 | 36 | | |
37 | 37 | | |
38 | 38 | | |
39 | | - | |
40 | | - | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
41 | 45 | | |
42 | 46 | | |
43 | 47 | | |
44 | 48 | | |
45 | 49 | | |
46 | | - | |
47 | | - | |
| 50 | + | |
| 51 | + | |
48 | 52 | | |
49 | | - | |
| 53 | + | |
50 | 54 | | |
51 | 55 | | |
52 | 56 | | |
| |||
55 | 59 | | |
56 | 60 | | |
57 | 61 | | |
58 | | - | |
59 | | - | |
60 | | - | |
| 62 | + | |
61 | 63 | | |
62 | 64 | | |
63 | 65 | | |
| 66 | + | |
| 67 | + | |
| 68 | + | |
64 | 69 | | |
65 | 70 | | |
66 | 71 | | |
| |||
0 commit comments