Skip to main content

Gets the given OAuth application.

Returns the OAuthApplication object.

function get(oauthApplicationId: string): Promise<OAuthApplication>
  • Name
    oauthApplicationId
    Type
    string
    Description

    The ID of the OAuth application to get.

Note

Using clerkClient varies based on the SDK you're using. Refer to the overview for usage details, including guidance on how to access the userId and other properties.

const oauthApplicationId = 'oauthapp_123'

const response = await clerkClient.oauthApplications.get(oauthApplicationId)

Backend API (BAPI) endpoint

This method in the SDK is a wrapper around the BAPI endpoint GET/oauth_applications/{oauth_application_id}. See the BAPI reference for more information.

Feedback

What did you think of this content?

Last updated on