feat: modular domain driven boilerplate
This commit is contained in:
9
modules/identity/auth/jwt.ts
Normal file
9
modules/identity/auth/jwt.ts
Normal file
@@ -0,0 +1,9 @@
|
||||
import { config } from "../config.ts";
|
||||
|
||||
export const jwt = {
|
||||
algorithm: "RS256",
|
||||
privateKey: config.auth.privateKey,
|
||||
publicKey: config.auth.publicKey,
|
||||
issuer: "http://localhost",
|
||||
audience: "http://localhost",
|
||||
};
|
||||
Reference in New Issue
Block a user