---
title: "Start OAuth authorization (redirects to the identity provider)"
method: GET
path: "/api/actions/connector/{connectorId}/oauth/start"
tags: ["connectors"]
---

# Start OAuth authorization (redirects to the identity provider)

`GET /api/actions/connector/{connectorId}/oauth/start`

**Spaces method and path for this operation:**

<div><span class="operation-verb get">get</span>&nbsp;<span class="operation-path">/s/{space_id}/api/actions/connector/{connectorId}/oauth/start</span></div>

Refer to [Spaces](https://www.elastic.co/docs/deploy-manage/manage-spaces) for more information.

[Required authorization] Route required privileges: actions:oauth.

## Path parameters

- `connectorId` string, required

## Other responses

- `302` — Redirects to the identity provider to begin OAuth authorization.
- `400` — Invalid request, such as a disallowed returnUrl.
- `401` — User is not authenticated.
- `404` — Connector not found.

---

[API](https://skmtc.net/elastic/apis/kibana-apis.md) · [All operations](https://skmtc.net/elastic/apis/kibana-apis/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/elastic/kibana-apis/revisions/93e11b266872/schema)
