Skip to content

Commit e2b4e80

Browse files
committed
🤡 Mock OAuth2 server for testing
- https://github.com/navikt/mock-oauth2-server
1 parent ac2d0c9 commit e2b4e80

File tree

2 files changed

+19
-0
lines changed

2 files changed

+19
-0
lines changed

config-ssl.json

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
{
2+
"interactiveLogin": true,
3+
"httpServer": {
4+
"type": "NettyWrapper",
5+
"ssl": {}
6+
}
7+
}

docker-compose-ssl.yml

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
services:
2+
mock-oauth2-server:
3+
image: ghcr.io/navikt/mock-oauth2-server:2.1.11
4+
ports:
5+
- "8080:8080"
6+
hostname: host.docker.internal
7+
volumes:
8+
- ./config-ssl.json:/app/config.json:Z
9+
environment:
10+
LOG_LEVEL: "debug"
11+
SERVER_PORT: 8080
12+
JSON_CONFIG_PATH: /app/config.json

0 commit comments

Comments
 (0)