Skip to content

Commit

Permalink
[Debt] Bump mock auth for rotating refresh tokens (#10565)
Browse files Browse the repository at this point in the history
* bump mock auth image

* add rotate refresh token config

* stabilize process permissions test

* add types back in
  • Loading branch information
esizer authored Dec 5, 2024
1 parent db738c3 commit 1d0fd96
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 2 deletions.
1 change: 0 additions & 1 deletion apps/playwright/tests/admin/process-permissions.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,6 @@ test.describe("Process permissions", () => {
let associatedSub: string;
let unassociatedSub: string;
let poolName: string;

let pool: Pool;

test.beforeAll(async () => {
Expand Down
2 changes: 1 addition & 1 deletion docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@ services:
#
mock-auth:
# See: https://github.com/navikt/mock-oauth2-server#standalone-server
image: ghcr.io/navikt/mock-oauth2-server:2.1.1
image: ghcr.io/navikt/mock-oauth2-server:2.1.5
volumes:
- ./infrastructure/conf:/app/conf
# Container shuts down with exit code 143 instead of the standard "0", so
Expand Down
1 change: 1 addition & 0 deletions infrastructure/conf/mock-oauth2-server.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
{
"interactiveLogin": true,
"rotateRefreshToken": true,
"tokenCallbacks": [
{
"issuerId": "oxauth",
Expand Down

0 comments on commit 1d0fd96

Please sign in to comment.