@Summary OAuth2 dynamic client registration (RFC 7591) @ID oauth2-dynamic-client-registration @Accept json @Produce json @Tags Enterprise @Param request body codersdk.OAuth2ClientRegistrationRequest true "Client registration request" @Success 201 {object} codersdk.OAuth2ClientRegistrationResponse @R
()
| 202 | // @Success 201 {object} codersdk.OAuth2ClientRegistrationResponse |
| 203 | // @Router /oauth2/register [post] |
| 204 | func (api *API) postOAuth2ClientRegistration() http.HandlerFunc { |
| 205 | return oauth2provider.CreateDynamicClientRegistration(api.Database, api.AccessURL, api.Auditor.Load(), api.Logger) |
| 206 | } |
| 207 | |
| 208 | // @Summary Get OAuth2 client configuration (RFC 7592) |
| 209 | // @ID get-oauth2-client-configuration |
no test coverage detected