Skip to content

SMTP not working #53

@lukasheinz92

Description

@lukasheinz92

Hello, I use following SMTP config:

SMTP_USERNAME=<123456789>@smtp-brevo.com
SMTP_PASSWORD=*********
SMTP_HOST=smtp-relay.brevo.com
SMTP_PORT=587

When I click to sign in or resend code in the app, I don't get any email. I don't even see any logs in brevo.com. The identity server shows this log every time I try to sign in or resend code:

fail: IdentityServer4.Validation.TokenValidator[0]
      Checking for expected scope IdentityServerApi failed
      {
        "ValidateLifetime": true,
        "AccessTokenType": "Jwt",
        "ExpectedScope": "IdentityServerApi",
        "JwtId": "A63BB48E488F020762C2343F13D9CED3",
        "Claims": {
          "nbf": 1758991602,
          "exp": 1758992802,
          "iss": "http://identity-server:8264",
          "client_id": "notesnook",
          "sub": "68d814eb0b7ed2d6fcfbbd24",
          "auth_time": 1758991596,
          "idp": "local",
          "jti": "A63BB48E488F020762C2343F13D9CED3",
          "iat": 1758991596,
          "scope": "auth:grant_types:mfa"
}
      }

I checked existing issues on GitHub and tried to debug with AI, nothing helped. Thank you.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions