amplication icon indicating copy to clipboard operation
amplication copied to clipboard

🐛 Bug Report: invite a member to workspace leads to the wrong link

Open abrl91 opened this issue 2 years ago • 0 comments

What happened?

the link to the initiation leads to a wrong link: image

link to the Discord thread: https://discord.com/channels/757179260417867879/988847696607600690

What you expected to happen

the link should lead to login and connect to the workspace

How to reproduce

send an invite to a member

Amplication version

0.13.1

Environment

No response

Are you willing to submit PR?

No response

abrl91 avatar Jun 23 '22 06:06 abrl91

Hii @souravjain540. Can I work on this issue?

pratikgl avatar Aug 17 '22 08:08 pratikgl

Hii @souravjain540. Can I work on this issue?

Sure! @pratikgl

Join our discord if you need any help in solving this. :)

souravjain540 avatar Aug 17 '22 08:08 souravjain540

Hi @pratikgl The problem is rooted in the packages/amplication-server/src/core/mail/mail.service.ts file, the HOST var is pointing to the server url and not the client url in the env CLIENT_HOST

tupe12334 avatar Aug 17 '22 15:08 tupe12334

any updates @pratikgl ?

souravjain540 avatar Aug 19 '22 19:08 souravjain540

Hey @souravjain540 I was waiting for @tupe12334 follow up on Discord. I had few doubts on the changes.

pratikgl avatar Aug 19 '22 20:08 pratikgl

I got the resolution and will raise the PR my morning.

pratikgl avatar Aug 19 '22 23:08 pratikgl