You can run the idproxy service locally by setting the following arguments and environment variables -
Prerequisites
Greenhouse Organization with oidc authentication in spec.authentication
[!NOTE]
If you do not have a proper IDP to authenticate with, you can run keycloak locally in a docker container
Or you can use a mock oauth2 server like ghcr.io/navikt/mock-oauth2-server
Disclaimer: keycloak and mock-oauth2-server are not tested with idproxy service
Arguments:
--listen-addr=:<PORT_NUM> ex: --listen-addr=:8085 (defaults to :8080 if not set)
[!NOTE]
There should be a configured Connector and OAuth2Client for the idproxy service to work properly.
The Connector and OAuth2Client is created when you create an Organization