How to Retrieve an OIDC Provider

Updated on 08 April, 2026

Retrieve the configuration details of a specific OIDC provider in Vultr IAM. View the client ID, callback URL, and provider metadata through the IAM API.


Retrieving an OIDC provider returns its configuration details, including the linked issuer ID. This is useful for verifying the provider setup or obtaining the issuer ID for JWKS operations.

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

  1. Send a GET request to the List OIDC Providers endpoint 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 you want to retrieve.

  2. Send a GET request to the Read OIDC Provider endpoint. Replace {provider-id} with the provider id.

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

    The response contains the resource details.

Comments