Skip to content

[Bug] Can't use config file to set port #24

Description

@rainhead

Description

Setting Port in config.json has no effect; the server will still start on 8080.

Steps to reproduce

{
    "DevOidcToolkit": {
        "Port": "31389",
        "Clients": [
            ...
        ],
        "Users": [
            ...
        ]
    }
}
$ docker compose up oidc
...
oidc-1               |       Now listening on: http://0.0.0.0:8080

The clients and users do exist, so the config file is being read. Setting the port via environment variable works.

Expected behaviour

server runs on port 31389

Environment details

Docker version 29.2.1, build a5c7197
ghcr.io/businesssimulations/dev-oidc-toolkit:latest                                      60e26c9709b4
Darwin Peters-MacBook-Air.local 25.3.0 Darwin Kernel Version 25.3.0: Wed Jan 28 20:53:31 PST 2026; root:xnu-12377.91.3~2/RELEASE_ARM64_T8103 arm64

Metadata

Metadata

Labels

bugSomething isn't working

Type

No type

Fields

No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions