integration of authentication

This commit is contained in:
2024-08-06 17:44:28 +02:00
parent 0c7fc6fdf7
commit ee932a2339
13 changed files with 153 additions and 84 deletions
+8 -2
View File
@@ -1,4 +1,4 @@
module.exports = {
const config = {
db: {
connectionString: "mongodb://db:27017",
dbName: "jucundus",
@@ -19,5 +19,11 @@ module.exports = {
jwtOptions: {
issuer: "jucundus.com",
audience: "yoursite",
},
agent :{
ApiAgentURL: 'http://host.docker.internal:3020/api',
token: '861v48gr4YTHJTUre0reg40g8e6r8r64eggv1r4e6g4r81PKREVJ8g6reg46r8eg416reST6ger84g14er86e',
}
};
};
module.exports = { config };