> ## Documentation Index
> Fetch the complete documentation index at: https://developers.redo.com/llms.txt
> Use this file to discover all available pages before exploring further.

# developerConnectionAuthorize

> Start approving an OAUTH2_AUTHORIZATION_CODE connection: returns the provider URL to open. When the person approves, the provider returns them to the Redo merchant app, which finishes while they're signed in to the store: the connection stores its refresh token and `authorizedAt` is set. Returns null when the store has no connection with that id; errors with CONNECTION_INVALID for another scheme.

**Required scopes:** [`developer_write`](https://developers.redo.com/docs/api-reference/v3/reference/scopes#scope-developer_write)

## Arguments

**id** `ID!` *required*

The connection's `id`.

## Returns

**developerConnectionAuthorize** `[DeveloperConnectionAuthorization](/docs/api-reference/v3/reference/developer/developer-connection-authorization)`

Where to send a person to approve a connection.

**fields**

**authorizeUrl** `String!` *required*

Open this in the browser of a person who manages the store's developer settings. The provider returns them to the Redo merchant app, which finishes while they're signed in to the store. It works once, for 15 minutes.

**redirectUri** `String!` *required*

Where the provider sends the person back. Register it with the OAuth app.

## Example

```graphql theme={null}
mutation {
  developerConnectionAuthorize(id: "...") {
    authorizeUrl
    redirectUri
  }
}
```


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.