delete patch

This commit is contained in:
2024-10-29 17:32:45 +01:00
parent fe33c5f123
commit eaaa026b5d
5 changed files with 1 additions and 66 deletions

View File

@@ -1,5 +1,3 @@
const PassportZitadel = require('passport-zitadel');
module.exports = ({ env }) => ({
auth: {
secret: env('ADMIN_JWT_SECRET'),

View File

@@ -1,40 +0,0 @@
const PassportZitadel = require('passport-zitadel');
module.exports = ({ env }) => ({
auth: {
secret: env('ADMIN_JWT_SECRET'),
providers: [
{
uid: "zitadel-introspection",
displayName: "Trompxtette",
icon: "",
createStrategy: (strapi) =>
new PassportZitadel.ZitadelIntrospectionStrategy(
{
authority: 'https://trompette.espace120.fr',
clientId: '282357429163868163@infra',
clientSecret: 'Ln4gf8LjLi0JDirTwgs7N1pNQkehN0IBX0VHbzjlnvBP5fwhXldUMcy1FsyPBlbz',
},
(accessToken, refreshToken, profile, done) => {
done(null, {
email: profile.email,
username: profile.username,
});
}
),
},
],
},
apiToken: {
salt: env('API_TOKEN_SALT'),
},
transfer: {
token: {
salt: env('TRANSFER_TOKEN_SALT'),
},
},
flags: {
nps: env.bool('FLAG_NPS', true),
promoteEE: env.bool('FLAG_PROMOTE_EE', true),
},
});

View File

@@ -1,21 +1 @@
module.exports = ({ env }) => ({
email: {
config: {
provider: "strapi-provider-email-smtp",
providerOptions: {
host: "smtp.gmail.com", //SMTP Host
port: 465, //SMTP Port
secure: true,
username: "CHANGEME",
password: "CHANGEME",
rejectUnauthorized: true,
requireTLS: true,
connectionTimeout: 1,
},
},
settings: {
defaultFrom: "CHANGEME",
defaultReplyTo: "CHANGEME",
},
},
});
module.exports = () => ({});