Hello.
I have been trying to get this to work after it seemingly stopped working out of the blue, but I want to allow users to log into their mailboxes through authentik (SSO).
I set up everything according to https://integrations.goauthentik.io/chat-communication-collaboration/mailcow/ and yet I keep getting a “Login failed” when I try to log in with SSO. The URL bar does have the OAuth2 code which I can use to retreive my access token, but for some reason it just does not want to work.
The test does not work either.
There are absolutely no useful logs being ouput by mailcow, except one thing in the webui logs which is:
["identity_provider","Invalid response received from Authorization Server. Expected JSON."].
My mailcow config is as follows:
