MCPcopy Index your code
hub / github.com/coder/coder / oauth2AuthorizationServerMetadata

Method oauth2AuthorizationServerMetadata

coderd/oauth2.go:182–184  ·  view source on GitHub ↗

@Summary OAuth2 authorization server metadata. @ID oauth2-authorization-server-metadata @Produce json @Tags Enterprise @Success 200 {object} codersdk.OAuth2AuthorizationServerMetadata @Router /.well-known/oauth-authorization-server [get]

()

Source from the content-addressed store, hash-verified

180// @Success 200 {object} codersdk.OAuth2AuthorizationServerMetadata
181// @Router /.well-known/oauth-authorization-server [get]
182func (api *API) oauth2AuthorizationServerMetadata() http.HandlerFunc {
183 return oauth2provider.GetAuthorizationServerMetadata(api.AccessURL)
184}
185
186// @Summary OAuth2 protected resource metadata.
187// @ID oauth2-protected-resource-metadata

Callers 1

NewFunction · 0.95

Calls 1

Tested by

no test coverage detected