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

Method getOAuth2ProviderAppAuthorize

coderd/oauth2.go:118–120  ·  view source on GitHub ↗

@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

()

Source from the content-addressed store, hash-verified

116// @Success 200 "Returns HTML authorization page"
117// @Router /oauth2/authorize [get]
118func (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

Callers 1

NewFunction · 0.95

Calls 1

ShowAuthorizePageFunction · 0.92

Tested by

no test coverage detected