Responds with the OIDC endpoint based on a few config things.
You'll need poetry, or make a virtualenv and pip install the repo.
git clone <repo url> && cd <repo name>
poetry install
poetry run tailscale-webfinger
- KANIDM_DOMAIN - the hostname of your Kanidm server
- CLIENT_ID - the client ID of the Tailscale config on your Kanidm server
- LISTEN_HOST - the host to listen to, defaults to
127.0.0.1
It'll respond with this if you have idp.example.com
and tailscale
respectively:
{"subject":"acct:user@example.com`","links":[{"rel":"http://openid.net/specs/connect/1.0/issuer","href":"https://idp.example.com/oauth2/openid/tailscale/.well-known/openid-configuration"}]}