Use configs rather than hardcode + .env example
This commit is contained in:
@@ -2,7 +2,7 @@ import { Auth0Client } from "@auth0/nextjs-auth0/server";
|
||||
|
||||
export const auth0 = new Auth0Client({
|
||||
authorizationParameters: {
|
||||
scope: 'openid profile email',
|
||||
audience: 'imprink-front'
|
||||
scope: process.env.AUTH0_SCOPE,
|
||||
audience: process.env.AUTH0_AUDIENCE
|
||||
}
|
||||
});
|
||||
Reference in New Issue
Block a user