WTH, everything is now about security, so you have added an addiotnal 2FA server (authelia, authentik, google, cloudflare)
These are working well in a web browser but doesn’t work on the apps.
We need a solution for better 2FA, even an option to set a 2FA service in core directly so that every login will be first verified by the external 2FA server.
However in terms of security, although it blocks user to login into your instance if he knows your user and password it does not protect exploits (if there will be any), having an external solution in addition to the built in one increase security since if one is hacked the other still doesn’t.
In addition it allow to use more convenient authentication methods such as push notifications, SSO for all of your apps, etc…
The idea is either to support passing a token or a cookie to another authentication server or allowing some configuration to call another server to verify the login