Skip to content

Commit

Permalink
switch to client ID & secret auth for auth0 management client
Browse files Browse the repository at this point in the history
  • Loading branch information
dallen4 committed Sep 22, 2023
1 parent 44ca492 commit c463e71
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion web/api/auth0.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,8 @@ const { host } = new URL(process.env.AUTH0_ISSUER_BASE_URL!);
export const auth0 = new ManagementClient<{ [key: string]: any }, UserMetadata>(
{
domain: host,
token: process.env.AUTH0_TOKEN!,
clientId: process.env.AUTH0_CLIENT_ID!,
clientSecret: process.env.AUTH0_CLIENT_SECRET!,
},
);

Expand Down

0 comments on commit c463e71

Please sign in to comment.