[Bug] Magic Link sempre retorna “link expirou ou já foi utilizado” na versão 2.4.0-rc2
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
- Domain
- authentication, backend
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
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
- Instalar ou atualizar para a versão
2.4.0-rc2. - Acessar o sistema pela primeira vez.
- Informar nome e e-mail na tela de ativação.
- Solicitar o Magic Link.
- Abrir o link recebido por e-mail.
- 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?
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
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from evolution-foundation/evolution-api
-
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
-
Difficulty 1/5 1-3 hours Newbie friendliness 88/100
-
bug
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
-
Difficulty 1/5 Under an hour Newbie friendliness 88/100
evolution-foundation/evolution-api#2700 · 1 comment ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 76/100
All issues in evolution-foundation/evolution-api
Similar issues
-
Difficulty 2/5 1-3 hours Newbie friendliness 70/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 75/100
mksglu/context-mode#1200 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 75/100
jaegertracing/jaeger-ui#4506 ·
-
area:desktop area:ui bug platform:macos
Difficulty 2/5 1-3 hours Newbie friendliness 75/100
anthropics/claude-code#96687 ·
-
good first issue
Difficulty 1/5 Under an hour Newbie friendliness 95/100
AOSSIE-Org/DebateAI#582 · 2 comments ·