Hacktoberfest 2026: the issues maintainers tagged for October, open and beginner-friendly. Browse Hacktoberfest issues

[Bug] Magic Link sempre retorna “link expirou ou já foi utilizado” na versão 2.4.0-rc2

Open
#2,648 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
3/5
Estimated time
1-2 days
Newbie friendliness
48/100
Issue type
Bug
Clarity
Mostly clear
Activity status
Active
Tech stack
typescript

Research direction

Start by reproducing the license activation flow on Evolution API 2.4.0-rc2: request a Magic Link and open it immediately. Trace the Magic Link validation and expiration checks, including the reported URL, proxy, date/time, SMTP, and environment settings. Done means a newly received link validates and completes license activation without the expired-or-used error.

Written by the indexing model from the issue text.

Description

bug
Welcome!
  • Yes, I have searched for similar issues on GitHub and found none.
What did you do?
Título da issue

[Bug] Magic Link sempre retorna “link expirou ou já foi utilizado” na versão 2.4.0-rc2

Descrição

Após atualizar para a Evolution API 2.4.0-rc2, o primeiro acesso exige a ativação da licença por Magic Link.

Porém, todos os links recebidos por e-mail retornam o seguinte erro ao serem abertos:

Este link expirou ou já foi utilizado. Solicite um novo.

Com isso, fico preso em um loop e não consigo concluir a ativação nem acessar o sistema.

Passos para reproduzir
  1. Instalar ou atualizar para a versão 2.4.0-rc2.
  2. Acessar o sistema pela primeira vez.
  3. Informar nome e e-mail na tela de ativação.
  4. Solicitar o Magic Link.
  5. Abrir o link recebido por e-mail.
  6. O sistema exibe a mensagem de link expirado ou já utilizado.
Comportamento esperado

O Magic Link deveria validar o acesso e concluir a ativação da licença.

Comportamento atual

O link é considerado expirado ou utilizado imediatamente, mesmo sendo aberto logo após o recebimento.

Tentativas realizadas
  • Solicitei vários Magic Links.
  • Testei com diferentes endereços de e-mail.
  • Abri o link imediatamente após o recebimento.
  • Solicitei um novo link após cada erro.

O problema continua acontecendo em todas as tentativas.

Alguém conseguiu resolver esse problema na versão 2.4.0-rc2? Existe alguma configuração de URL, proxy, data/hora, SMTP ou variável de ambiente necessária para o Magic Link funcionar corretamente?

Image Image
What did you expect?

Acessar corretamente

What did you observe instead of what you expected?

Acessar corretamente

Screenshots/Videos

No response

Which version of the API are you using?

2.4.0-rc2

What is your environment?

Windows

Other environment specifications

No response

If applicable, paste the log output

No response

Additional Notes

No response

Dominant language
TypeScript
Stars
9.6k
Forks
7.3k
PR merge metrics
No merged PRs in 30d

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from evolution-foundation/evolution-api

All issues in evolution-foundation/evolution-api

Similar issues

More TypeScript issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.