@Summary OAuth2 authorization request (GET - show authorization page). @ID oauth2-authorization-request-get @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
()
| 116 | // @Success 200 "Returns HTML authorization page" |
| 117 | // @Router /oauth2/authorize [get] |
| 118 | func (api *API) getOAuth2ProviderAppAuthorize() http.HandlerFunc { |
| 119 | return oauth2provider.ShowAuthorizePage(api.AccessURL) |
| 120 | } |
| 121 | |
| 122 | // @Summary OAuth2 authorization request (POST - process authorization). |
| 123 | // @ID oauth2-authorization-request-post |
no test coverage detected