Transfer all code to TS
This commit is contained in:
8
ui/src/lib/auth0.ts
Normal file
8
ui/src/lib/auth0.ts
Normal file
@@ -0,0 +1,8 @@
|
||||
import { Auth0Client } from "@auth0/nextjs-auth0/server";
|
||||
|
||||
export const auth0 = new Auth0Client({
|
||||
authorizationParameters: {
|
||||
scope: process.env.AUTH0_SCOPE,
|
||||
audience: process.env.AUTH0_AUDIENCE
|
||||
}
|
||||
});
|
||||
Reference in New Issue
Block a user