Searched Microsoft authentication SSO configuration
Found 10 results
1 messages · Page 1 of 1 (latest)
To transition from Microsoft SSO authentication back to email + password + MFA, you need to:
Go to Settings → Admin Panel → Configuration Variables and set:
AUTH_MICROSOFT_ENABLED=falseOr if you're using environment-only configuration (IS_CONFIG_VARIABLES_IN_DB_ENABLED=false), update your .env file and restart the container.
In the same Configuration Variables section, ensure password authentication is enabled. Look for password-related settings in the Authentication section.
Once users can log in with email + password, they can enable 2FA individually:
If you need to configure SMTP for password reset emails, go to Settings → Admin Panel → Configuration Variables → Email section and set up your SMTP provider.
These pages may help:
Furthermore, I am trying to send emails from the platform using postmark. How do I set this up correctly?
For Postmark, you'll configure it as an SMTP provider. Go to Settings → Admin Panel → Configuration Variables and find the Email section.
Set these variables for Postmark:
EMAIL_DRIVER=smtpEMAIL_SMTP_HOST=smtp.postmarkapp.comEMAIL_SMTP_PORT=587EMAIL_SMTP_USER={your-postmark-server-api-token}EMAIL_SMTP_PASSWORD={your-postmark-server-api-token}Note: Postmark uses your Server API Token for both the username and password fields.
Since you're using the 1-step Docker method with the default configuration (IS_CONFIG_VARIABLES_IN_DB_ENABLED=true), changes made through the Admin Panel take effect immediately (within 15 seconds).
If you've set IS_CONFIG_VARIABLES_IN_DB_ENABLED=false, add these variables to your .env file instead and restart the container.
This email configuration is used for system emails like password resets, email verification, and other platform notifications - which ties back to your earlier question about enabling password + MFA authentication.
Do I want a transactional stream or a broadcast, or outbound?
The documentation doesn't specifically cover Postmark stream types. However, based on how Twenty uses email:
Use a Transactional Stream.
Twenty sends system emails like:
These are all one-to-one, triggered emails - which is exactly what transactional streams are designed for.
Broadcast streams are for bulk marketing emails (newsletters, promotions) sent to many recipients at once - not what Twenty uses.
Outbound is typically a Postmark term for their outbound SMTP relay, which is what you're configuring anyway.
So in your Postmark dashboard, create a Transactional Message Stream and use that Server API Token in your Twenty SMTP configuration.
How do I test if it's working?
The documentation doesn't have a built-in email test feature, but here are a few ways to verify your Postmark configuration is working:
This is the simplest way to confirm the SMTP configuration is working end-to-end.
After triggering a password reset (or any system email):
If emails aren't arriving, check your Docker container logs for SMTP errors:
docker logs <your-twenty-container-name>
Look for any SMTP connection errors or authentication failures.
If emails aren't sending:
EMAIL_SMTP_USER and EMAIL_SMTP_PASSWORD)I don't see any logs
With the 1-step Docker install, you need to first find your container name. Run:
docker ps
This will list your running containers. Look for the Twenty server container (likely named something like twenty-server or similar).
Then view the logs with:
docker logs twenty-server
Or to follow logs in real-time:
docker logs -f twenty-server
If you used the one-line install script, the container names are typically:
twenty-server - main applicationtwenty-postgres - databaseIf you still don't see any logs, the container might not be running. Check the status with docker ps -a to see all containers including stopped ones.
For email-specific issues, the logs should show SMTP connection attempts or errors when an email is triggered (like a password reset).
Still no logs