---
title: How to Retrieve OIDC Provider Configuration
url: https://docs.vultr.com/platform/iam/oidc/oidc-providers/how-to-retrieve-oidc-provider-configuration
description: Retrieve the OpenID Connect discovery configuration for an OIDC provider in Vultr IAM. Access endpoints, supported scopes, and claims from the provider.
publish_date: 2026-03-24T19:52:59.492697Z
last_updated: 2026-04-28T15:39:02.841517Z
---

The OIDC provider discovery endpoint returns the standard OpenID Connect configuration document. External systems use this document to discover authorization, token, JWKS, and userinfo endpoints for the provider.

This guide explains how to retrieve the OIDC provider configuration using the Vultr API.

1. Send a `GET` request to the [**List OIDC Providers** endpoint](https://www.vultr.com/api/#tag/oidc/operation/list-oidc-providers) to retrieve all providers.

    ```console
    $ curl "https://api.vultr.com/v2/oidc/provider" \
        -X GET \
        -H "Authorization: Bearer ${VULTR_API_KEY}"
    ```

    Note the `id` of the provider whose configuration you want to retrieve.

1. Send a `GET` request to the [**OIDC Provider Discovery** endpoint](https://www.vultr.com/api/#tag/oidc/operation/get-oidc-provider-discovery). Replace `{provider-id}` with the provider id.

    ```console
    $ curl "https://api.vultr.com/v2/oidc/provider/{provider-id}/.well-known/openid-configuration" \
        -X GET \
        -H "Authorization: Bearer ${VULTR_API_KEY}"
    ```

    The response contains the OIDC discovery configuration.