@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]
()
| 180 | // @Success 200 {object} codersdk.OAuth2AuthorizationServerMetadata |
| 181 | // @Router /.well-known/oauth-authorization-server [get] |
| 182 | func (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 |
no test coverage detected