> For clean Markdown of any page, append .md to the page URL.
> For a complete documentation index, see https://docs.aventure.vc/llms.txt.
> For AI client integration (Claude Code, Cursor, etc.), connect to the MCP server at https://docs.aventure.vc/_mcp/server.

# Get the public authentication provider catalog

GET https://api.aventure.vc/v1/auth/providers

Sign-in provider availability and CLI OAuth configuration. Public — callers read it before any session exists. A non-null Clerk publishable key offers browser sign-in; a non-null OAuth client offers the PKCE CLI sign-in lane.

Reference: https://docs.aventure.vc/api-reference/auth/get-auth-provider-catalog

## Response

### 200

OK

- `clerkPublishableKey` (string, optional, nullable) — Clerk publishable key for browser sign-in; absent when the environment has no Clerk instance
- `oauthClient` (object, optional, nullable) — OAuth PKCE client configuration for the CLI; absent until its client configuration is complete
  - `authorizationServer` (string, required) — OAuth authorization server URI
  - `clientId` (string, required) — Public OAuth client identifier
  - `redirectUri` (string, required) — Registered loopback callback URI template
  - `resource` (string, required) — OAuth resource indicator accepted by the API
  - `scope` (list of string, required) — OAuth scope requested by the CLI

## Examples

**Response**

```json
{
  "clerkPublishableKey": "pk_test_cmVmaW5lZC13aWxkY2F0LTMuY2xlcmsuYWNjb3VudHMuZGV2JA",
  "oauthClient": {
    "authorizationServer": "string",
    "clientId": "string",
    "redirectUri": "string",
    "resource": "string",
    "scope": [
      "string"
    ]
  }
}
```

**SDK Code**

```python
import requests

url = "https://api.aventure.vc/v1/auth/providers"

response = requests.get(url)

print(response.json())
```

```javascript
const url = 'https://api.aventure.vc/v1/auth/providers';
const options = {method: 'GET'};

try {
  const response = await fetch(url, options);
  const data = await response.json();
  console.log(data);
} catch (error) {
  console.error(error);
}
```

```go
package main

import (
	"fmt"
	"net/http"
	"io"
)

func main() {

	url := "https://api.aventure.vc/v1/auth/providers"

	req, _ := http.NewRequest("GET", url, nil)

	res, _ := http.DefaultClient.Do(req)

	defer res.Body.Close()
	body, _ := io.ReadAll(res.Body)

	fmt.Println(res)
	fmt.Println(string(body))

}
```

```ruby
require 'uri'
require 'net/http'

url = URI("https://api.aventure.vc/v1/auth/providers")

http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true

request = Net::HTTP::Get.new(url)

response = http.request(request)
puts response.read_body
```

```java
import com.mashape.unirest.http.HttpResponse;
import com.mashape.unirest.http.Unirest;

HttpResponse<String> response = Unirest.get("https://api.aventure.vc/v1/auth/providers")
  .asString();
```

```php
<?php
require_once('vendor/autoload.php');

$client = new \GuzzleHttp\Client();

$response = $client->request('GET', 'https://api.aventure.vc/v1/auth/providers');

echo $response->getBody();
```

```csharp
using RestSharp;

var client = new RestClient("https://api.aventure.vc/v1/auth/providers");
var request = new RestRequest(Method.GET);
IRestResponse response = client.Execute(request);
```

```swift
import Foundation

let request = NSMutableURLRequest(url: NSURL(string: "https://api.aventure.vc/v1/auth/providers")! as URL,
                                        cachePolicy: .useProtocolCachePolicy,
                                    timeoutInterval: 10.0)
request.httpMethod = "GET"

let session = URLSession.shared
let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in
  if (error != nil) {
    print(error as Any)
  } else {
    let httpResponse = response as? HTTPURLResponse
    print(httpResponse)
  }
})

dataTask.resume()
```