Microsoft auth "Cannot send secure cookie over unencrypted connection"

I solved problem with this line in server.js: (strapi 4.3.x)
proxy: env.bool(“IS_PROXIED”, true)

Hi @aleandro.coppola

can you review my server.ts as I am not able to solve it with this

export default ({ env }) => ({
host: env(‘HOST’, ‘0.0.0.0’),
port: env.int(‘PORT’, 1337),
url: env(‘PUBLIC_URL’),
proxy:true,
app: {
keys: env.array(‘APP_KEYS’)
},
webhooks: {
populateRelations: env.bool(‘WEBHOOKS_POPULATE_RELATIONS’, false),
},
cron: {
enabled: true
},
});