-
|
I newly deployed v0.23.1 and set the server URL correctly. But after the Twake logo is shown, the Twake web UI never loads. It shows the loading animation forever. Different browsers won't help. There are some CORS issues in the console (like webfinger etc.); but they are not vital. There are no issues on docker logs. I also tried latest tag to no avail. So what can I do now? How do I diagnose the problem? |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 9 replies
-
|
You can build a debug build, which has more verbose log output. Also, which server are you using? Does it set the ENV url correclty for the mailserver? |
Beta Was this translation helpful? Give feedback.
-
|
It was a configuration issue. stalwartlabs/stalwart#513 (comment) This setup needs CORS policy to be permissive, which should be enabled in Stalwart. Also an OIDC client must be registered with the same client ID defined in the Tmail env.file. Not only these but also the domain redirect URL must be set to the webmail URL not the Stalwart URL and it MUST have an SSL certificate (even if a self-signed one), otherwise Stalwart will refuse to authorize. |
Beta Was this translation helpful? Give feedback.

It was a configuration issue.
stalwartlabs/stalwart#513 (comment)
This setup needs CORS policy to be permissive, which should be enabled in Stalwart. Also an OIDC client must be registered with the same client ID defined in the Tmail env.file.
Not only these but also the domain redirect URL must be set to the webmail URL not the Stalwart URL and it MUST have an SSL certificate (even if a self-signed one), otherwise Stalwart will refuse to authorize.