Hey,
i’m not sure but maybe it could be possible that the existing topic about Authelia here could give some insights: