@Summary OAuth2 authorization request (POST - process authorization). @ID oauth2-authorization-request-post @Security CoderSessionToken @Tags Enterprise @Param client_id query string true "Client ID" @Param state query string true "A random unguessable string" @Param response_type query codersdk.OAu
()
| 131 | // @Success 302 "Returns redirect with authorization code" |
| 132 | // @Router /oauth2/authorize [post] |
| 133 | func (api *API) postOAuth2ProviderAppAuthorize() http.HandlerFunc { |
| 134 | return oauth2provider.ProcessAuthorize(api.Database) |
| 135 | } |
| 136 | |
| 137 | // @Summary OAuth2 token exchange. |
| 138 | // @ID oauth2-token-exchange |
no test coverage detected