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

Method postOAuth2ProviderAppAuthorize

coderd/oauth2.go:133–135  ·  view source on GitHub ↗

@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

()

Source from the content-addressed store, hash-verified

131// @Success 302 "Returns redirect with authorization code"
132// @Router /oauth2/authorize [post]
133func (api *API) postOAuth2ProviderAppAuthorize() http.HandlerFunc {
134 return oauth2provider.ProcessAuthorize(api.Database)
135}
136
137// @Summary OAuth2 token exchange.
138// @ID oauth2-token-exchange

Callers 1

NewFunction · 0.95

Calls 1

ProcessAuthorizeFunction · 0.92

Tested by

no test coverage detected