create()
Creates a new OAuth application.
Returns the created OAuthApplication object.
function create(params: CreateOAuthApplicationParams): Promise<OAuthApplication>const response = await clerkClient.oauthApplications.create({
name: 'oauthapp_123',
redirect_uris: [''],
scopes: 'profile email public_metadata',
public: null,
})Backend API (BAPI) endpoint
This method in the SDK is a wrapper around the BAPI endpoint POST/oauth_applications. See the BAPI reference for more information.
Feedback
Last updated on