> For the complete documentation index, see [llms.txt](https://docs.fylr.io/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.fylr.io/for-developers/api/endpoints/api-well-known.md).

# /.well-known

OpenID Connect **discovery document** (provider metadata). A public, unauthenticated document advertising fylr's OAuth2 / OpenID Connect issuer and endpoints so that OIDC clients can configure themselves.

Served at the server root (`/.well-known/openid-configuration`) — **not** under `/api/v1`. The endpoint URLs it returns are absolute, built from the instance's configured external URL (`fylr.externalURL`), and point at `/api/oauth2/*`.

The route is not method-restricted: any HTTP method returns the same metadata document with status `200`.

### `GET /.well-known/openid-configuration` — Fetch the OpenID Connect provider metadata.

{% openapi src="/files/kfiDjhyZfEICNBmt5f49" path="/.well-known/openid-configuration" method="get" %}
[fylr-openapi.yml](https://4100607288-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FAdRFzQASDY2Elfdm3wXW%2Fuploads%2Fgit-blob-27a76749464f8079ac8ce2ee65518544084ed6fa%2Ffylr-openapi.yml?alt=media)
{% endopenapi %}
