[GH-ISSUE #3078] [bug]: Incorrect invite link #1008

Closed
opened 2026-03-16 18:02:57 +03:00 by kerem · 7 comments
Owner

Originally created by @eljump on GitHub (May 24, 2023).
Original GitHub issue: https://github.com/hoppscotch/hoppscotch/issues/3078

Originally assigned to: @ankitsridhar16 on GitHub.

Is there an existing issue for this?

  • I have searched the existing issues

Current behavior

Hi all, i find one more bug.
When we send the invite link (from) admin to email, people get link on our main domain, but not invite link, only domain. There is no any query-params in link.
Now i use branch release/2023.4.2 (there was fixed auth bug).

Also, if we send invite from main screen (not admin), we have a problem, that in link placed domain hoppscotch.io, but i think there should be our domain (hoppscotch-webest.ru)

Steps to reproduce

Use release/2023.4.2 branch. All other steps from documentation.

Environment

Release

Version

Self-hosted

Originally created by @eljump on GitHub (May 24, 2023). Original GitHub issue: https://github.com/hoppscotch/hoppscotch/issues/3078 Originally assigned to: @ankitsridhar16 on GitHub. ### Is there an existing issue for this? - [x] I have searched the existing issues ### Current behavior Hi all, i find one more bug. When we send the invite link (from) admin to email, people get link on our main domain, but not invite link, only domain. There is no any query-params in link. Now i use branch release/2023.4.2 (there was fixed auth bug). Also, if we send invite from main screen (not admin), we have a problem, that in link placed domain hoppscotch.io, but i think there should be our domain (hoppscotch-webest.ru) ### Steps to reproduce Use release/2023.4.2 branch. All other steps from documentation. ### Environment Release ### Version Self-hosted
kerem 2026-03-16 18:02:57 +03:00
Author
Owner

@ankitsridhar16 commented on GitHub (May 26, 2023):

Hello @eljump
If I understand correctly when you were inviting a user by email you were inviting them to join/sign-in to your infra? If this is the case then the email sent contains link where you main frontend app is running.
For the second issue were you inviting members to join a team from the main screen ?

<!-- gh-comment-id:1564453473 --> @ankitsridhar16 commented on GitHub (May 26, 2023): Hello @eljump If I understand correctly when you were inviting a user by email you were inviting them to join/sign-in to your infra? If this is the case then the email sent contains link where you main frontend app is running. For the second issue were you inviting members to join a team from the main screen ?
Author
Owner

@eljump commented on GitHub (May 29, 2023):

Hello, @ankitsridhar16
yes, you're right

if i invite from here
image
I got
image
without any params, as i can see

If I invite from here
image

I got link with hoppscotch.io domain
image

<!-- gh-comment-id:1566979569 --> @eljump commented on GitHub (May 29, 2023): Hello, @ankitsridhar16 yes, you're right if i invite from here ![image](https://github.com/hoppscotch/hoppscotch/assets/45133615/d6365001-437e-48e7-8f7a-9038f3e9b419) I got ![image](https://github.com/hoppscotch/hoppscotch/assets/45133615/9a6fe240-442d-43d5-ac69-0d76c0eec0f2) without any params, as i can see If I invite from here ![image](https://github.com/hoppscotch/hoppscotch/assets/45133615/1178e927-5b57-4212-a158-6aa130e164ee) I got link with hoppscotch.io domain ![image](https://github.com/hoppscotch/hoppscotch/assets/45133615/e2470403-da42-4d1d-adab-85d4c77da09b)
Author
Owner

@ankitsridhar16 commented on GitHub (May 29, 2023):

@eljump so the expected behaviour should have been when inviting from teams in the main screen you should have received an email invitation in the following format - https://your-domain/join-team?id=## am I correct ?
You don't have an issue getting the first invitation when inviting a user through admin UI as - https://your-domain ?

<!-- gh-comment-id:1567031253 --> @ankitsridhar16 commented on GitHub (May 29, 2023): @eljump so the expected behaviour should have been when inviting from teams in the main screen you should have received an email invitation in the following format - `https://your-domain/join-team?id=##` am I correct ? You don't have an issue getting the first invitation when inviting a user through admin UI as - `https://your-domain` ?
Author
Owner

@eljump commented on GitHub (May 29, 2023):

@ankitsridhar16
Why you ask the same questions?

I signed all screenshots,
if i send invite from admin panel, the people got link with my domain, but it is no auth,
so on click they can go to my hoppscotch domain, link look like:
https://your-domain
You can see this on 1 and 2 screenshots.

If i send invite, like on 3 screenshot (from main screen),
people got link with not my domain, but with domain, hoppscotch.io, it is on 4 screenshot.
I think, that there should be my domain, because i invite people to my team.

<!-- gh-comment-id:1567065002 --> @eljump commented on GitHub (May 29, 2023): @ankitsridhar16 Why you ask the same questions? I signed all screenshots, if i send invite from admin panel, the people got link with my domain, but it is no auth, so on click they can go to my hoppscotch domain, link look like: https://your-domain You can see this on 1 and 2 screenshots. If i send invite, like on 3 screenshot (from main screen), people got link with not my domain, but with domain, hoppscotch.io, it is on 4 screenshot. I think, that there should be my domain, because i invite people to my team.
Author
Owner

@ankitsridhar16 commented on GitHub (May 29, 2023):

Thanks wanted to clarify @eljump
The first behaviour is expected. When you invite a user we currently send an email with your domain (without any parameters) so that they can select the type of Auth they want to use for sign in.
The team invitation behaviour where you should get your domain in the email is a bug and we will have a fix for that.

<!-- gh-comment-id:1567072509 --> @ankitsridhar16 commented on GitHub (May 29, 2023): Thanks wanted to clarify @eljump The first behaviour is expected. When you invite a user we currently send an email with your domain (without any parameters) so that they can select the type of Auth they want to use for sign in. The team invitation behaviour where you should get your domain in the email is a bug and we will have a fix for that.
Author
Owner

@eljump commented on GitHub (May 29, 2023):

@ankitsridhar16 Okey, i understand you, thanks for answers

<!-- gh-comment-id:1567079694 --> @eljump commented on GitHub (May 29, 2023): @ankitsridhar16 Okey, i understand you, thanks for answers
Author
Owner

@liyasthomas commented on GitHub (Jun 4, 2023):

This has been resolved in #3096.

<!-- gh-comment-id:1575453619 --> @liyasthomas commented on GitHub (Jun 4, 2023): This has been resolved in #3096.
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/hoppscotch#1008
No description provided.