We have a UI very close to being released that wil...
# ory-network
b
We have a UI very close to being released that will show you the error messages of courier messages. Until then we can provide you the error logs if you message me your smtp servers host. @wonderful-midnight-19586
w
Copy code
smtps://<>:<>@smtp-relay.sendinblue.com:587
b
Sendinblue does not support implicit TLS. But you can use the “Cleartext SMTP” option under “Security Mode” AFAICT. Sorry about the poor observability right now, but we will provide a UI for this very soon.
If you’re using the CLI to set this, your protocol should be just
smtp
(without the
s
)
w
ok one sec
done
I have a script that injects secrets in my ory network conf and pushes it so...
ok thank you I got the email in the inbox
b
Very nice! 🙂
w
It's not using my email templates though
afaik the URL of the template is properly set in the conf
b
We recently updated the default strategy, and thus the templates for verification. 1. is the currently selected strategy on your project “Magic links” or “One time passwords” (under Authentication > Email verification in the console) 2. Did you set the correct key in the config (
verification_code
or
verification
) ?
verification
corresponds to the “Magic Links” strategy.
Are you using remote templates? E.g. you self host them somewhere?
w
Not at all, I just put the base64 string in
to avoid any magic
the base 64 template is in : courier -> templates -> verification
e.g. :
Copy code
courier: 
 templates:
    recovery:
      invalid:
        email:
          body:
            html: <https://storage.googleapis.com/bac-gcs-production/38d25243188da61b90629470ac21381bbe67f2cf5753b4672dfc52387842e2e26e38281e20537809c79a3ad6ecff6af297b530f862eeb66bc271120dd9d014e2.html>
            plaintext: <https://storage.googleapis.com/bac-gcs-production/3cf1d1d6c0aef77e3ec6cfc7794cd1a41ccffe4de0a22f877cfc3ce0222f850e36a908add7d2ddfaa8d34e674bc8b9a32426e4caa3cec5766955c2b266ef7d0e.bin>
          subject: <https://storage.googleapis.com/bac-gcs-production/7cd6e13c769390188cccd49f766fa41db68fe43c9587737a48ef3669446d3b2828f5c30c95459e3fa2f29d614c28cd301954c9995ec6442dc7224e105564bb67.bin>
      valid:
        email:
          body:
            html: <https://storage.googleapis.com/bac-gcs-production/16c1dceff25478a931f7a17f5ed43a68d7e677d0835be203a6baec56968cf061dc36130b521175796a0303d35c22f2c669b71a389329deada918831d138fbb1b.html>
            plaintext: <https://storage.googleapis.com/bac-gcs-production/9edecd78ade85cf79bad5e2dc2aff6d515ee347f01a7fed8c1c206f10e374e9609339dd30b0fdd2a813f60950c6b6034247790b61689828c0284139ee16ad1fe.bin>
          subject: <https://storage.googleapis.com/bac-gcs-production/8424d7668f8d076ae9079efd6279e110c3ba7cf8e4a1cde18099cbf1679fa39211a19be72790c0a21bd34910735482221d4dbd92ff6872d1b0fc37e02f3d06bb.bin>
    recovery_code:
      invalid:
        email:
          body:
            html: <https://storage.googleapis.com/bac-gcs-production/38d25243188da61b90629470ac21381bbe67f2cf5753b4672dfc52387842e2e26e38281e20537809c79a3ad6ecff6af297b530f862eeb66bc271120dd9d014e2.html>
            plaintext: <https://storage.googleapis.com/bac-gcs-production/3cf1d1d6c0aef77e3ec6cfc7794cd1a41ccffe4de0a22f877cfc3ce0222f850e36a908add7d2ddfaa8d34e674bc8b9a32426e4caa3cec5766955c2b266ef7d0e.bin>
          subject: <https://storage.googleapis.com/bac-gcs-production/7cd6e13c769390188cccd49f766fa41db68fe43c9587737a48ef3669446d3b2828f5c30c95459e3fa2f29d614c28cd301954c9995ec6442dc7224e105564bb67.bin>
      valid:
        email:
          body:
            html: <https://storage.googleapis.com/bac-gcs-production/a760687f424334bc7840dcd329e4c8bce463f1fa826138fca437e52c75e48a93f98e346ddb7686eb8d936f5302118e1d6237acc48d270d39d6ffc237397ed92c.html>
            plaintext: <https://storage.googleapis.com/bac-gcs-production/c1c8d3c9fe036300967594e29ca8a13b33ee8af8aa64a33fa5cbd15f441fcacd3763016758659bdaef8214ec7f3655de82978df29d8a8c24976d7b3ecf3e380b.bin>
          subject: <https://storage.googleapis.com/bac-gcs-production/8424d7668f8d076ae9079efd6279e110c3ba7cf8e4a1cde18099cbf1679fa39211a19be72790c0a21bd34910735482221d4dbd92ff6872d1b0fc37e02f3d06bb.bin>
    verification:
      invalid:
        email:
          body:
            html: <https://storage.googleapis.com/bac-gcs-production/4c4ea44d3f99402204a5fdf8b78e940be0b4c4d88c4841132a82b13443e829fb7afc789eac9a6a46e67b327fd4ed8f6e436dfce9aefc8612983cff7ce40475f3.html>
            plaintext: <https://storage.googleapis.com/bac-gcs-production/7f3f08930a80042b04c7da8075fb1799532186354e922a371060c2b2904a9812646a201520adb5457986c766c2dfb6e4fa85f8016364769247bd941b7f98d1cb.bin>
          subject: <https://storage.googleapis.com/bac-gcs-production/39a71e25cadb3681a6f643ab89924a5f45ee002d310a8f4fe02444e76800c7c26a6447cd543bf8b6cfe4340f0407695a84090a997c3e2bcaab2f7e2e54473bb7.bin>
b
That section is for recovery, but it does look correct. Which strategy is active for verification?
w
password
Copy code
login:
      after:
        hooks: []
        oidc:
          hooks: []
        password:
          hooks:
          - hook: require_verified_address
        webauthn:
I received the verification email, just not the right template
b
Ah, sorry. No I meant selfservice -> flows -> verification -> use
w
Copy code
verification:
      after:
        default_browser_return_url: <https://parcels.co/home>
        hooks: []
      before:
        hooks: []
      enabled: true
      lifespan: 30m0s
      ui_url: <https://parcels.co/verification>
      use: code
b
Okay, so it uses
code
can you post the templates for
verification_code
?
w
haha
ok
now I understand
I had recovery_code but skipped over verification_code ...