MCPcopy Create free account
hub / github.com/dailydotdev/apps / createOAuthClient

Function createOAuthClient

packages/shared/src/lib/oauthApps.ts:87–95  ·  view source on GitHub ↗
(
  input: OAuthClientInput,
)

Source from the content-addressed store, hash-verified

85 oauthRequest<OAuthClient[]>('get-clients');
86
87export const createOAuthClient = (
88 input: OAuthClientInput,
89): Promise<OAuthClient> =>
90 oauthRequest<OAuthClient>('create-client', {
91 ...input,
92 token_endpoint_auth_method: 'client_secret_post',
93 grant_types: ['authorization_code', 'refresh_token'],
94 response_types: ['code'],
95 });
96
97export const updateOAuthClient = ({
98 clientId,

Callers

nothing calls this directly

Calls 1

oauthRequestFunction · 0.85

Tested by

no test coverage detected