Thank you for this clear explanation. It is very helpful and I could implement it correctly in one shot. I used the above information to update my .env file and recreated the containers. There is a small typo above, the SSL port is 465. I used the SSL settings. Once the authentik containers were up, I gave the following command from my terminal to test the setup and received an email from authentik successfully.
docker compose exec worker ak test_email <my email>
Thank you once again.
Very handy! I tested with normal docker with success:
docker exec <name of the worker container> ak test_email <my email>
For the gmail app password, are you including spaces? or is it just 16 character string
EDIT: no spaces
You sir are a gentleman and a scholar, thank you for taking the time to make that excel and sharing your work
Thank you :) Regarding the app password, it's exactly as it's provided by Google. I don't recall how many characters it is but I don't recall it having any spaces.
Thanks, found I had to apply in docker to both the server and worker containers.
Would you mind sharing what your passed in your compose or confirm if you did this:
More replies More replies
Thank you for this clear explanation. It is very helpful and I could implement it correctly in one shot. I used the above information to update my .env file and recreated the containers. There is a small typo above, the SSL port is 465. I used the SSL settings. Once the authentik containers were up, I gave the following command from my terminal to test the setup and received an email from authentik successfully.
docker compose exec worker ak test_email <my email>
Thank you once again.
Very handy! I tested with normal docker with success:
docker exec <name of the worker container> ak test_email <my email>
More replies
For the gmail app password, are you including spaces? or is it just 16 character string
EDIT: no spaces
You sir are a gentleman and a scholar, thank you for taking the time to make that excel and sharing your work
Thank you :) Regarding the app password, it's exactly as it's provided by Google. I don't recall how many characters it is but I don't recall it having any spaces.
More replies
Thank you so much for sharing this information. Unfortuantley I receive the following error when I try to test the email function:
authentik@54af96da1315:/$ ak test_email [email protected]
File "/ak-root/venv/lib/python3.12/site-packages/sentry_sdk/integrations/socket.py", line 86, in getaddrinfo
return real_getaddrinfo(host, port, family, type, proto, flags)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.12/socket.py", line 963, in getaddrinfo
for res in _socket.getaddrinfo(host, port, family, type, proto, flags):
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
socket.gaierror: [Errno -2] Name or service not known
Did you have any Idea, what that means?
More replies
If you haven't figured this out yet. Put your email config to server and worker containers environment.
Il faut d'abord activer un 2FA si ce n'est pas déjà le cas pour pouvoir configurer un mot de passe d'application (et que le lien fonctionne)