forgejo/routers
Noah Snelson df55f9b189
Add a link to OpenID Issuer URL in WebFinger response (#26000)
This change adds an entry to the `links` field of the
`/.well-known/webfinger` response. The new entry points to the `appURL`
as an OpenID issuer. This is consistent with the output of
`/.well-known/openid-configuration`, which also uses the value of
`appURL`.

This change is required for Tailscale SSO to work, as it uses the OpenID
Issuer URL when querying the Tailscale user email during signup/login
([docs](https://tailscale.com/kb/1240/sso-custom-oidc/#webfinger-setup)).
2023-07-20 16:02:45 +08:00
..
api Refactor "Content" for file uploading (#25851) 2023-07-18 18:14:47 +00:00
common
install Show correct SSL Mode on "install page" (#25818) 2023-07-11 18:09:23 -04:00
private parseScope with owner/repo always sets owner to zero (#25987) 2023-07-19 21:21:51 +08:00
utils
web Add a link to OpenID Issuer URL in WebFinger response (#26000) 2023-07-20 16:02:45 +08:00
init.go