Providers stops working when in prod mode

Hi,

I am having a weird issue with Strapi. Whenever I switch to proud mode from dev mode my providers (discord) stops working. When /api/connect/discord or /api/connect/discord/callback is accessed it just says “Internal Server Error”. There are no logs either in error_log. It only leaves a trace of error 500 on acces_ssl_log.

I am not sure where to go from here. I’d appreciate all the help I can get.

Thanks for your time and help!

This topic has been created from a Discord post (1267305154076741665) to give it more visibility.
It will be on Read-Only mode here.
Join the conversation on Discord