Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Bug]: Removing and re-inviting a user causes an invalid invitation link #2249

Closed
ck-euan opened this issue May 20, 2024 · 2 comments
Closed

Comments

@ck-euan
Copy link

ck-euan commented May 20, 2024

Description

If you remove a team member and then try to invite them again, the invitation link doesn't work and will send them back to the login screen.

I had to invite a different email address for it to work.

It also generated a different link to usual, the ones that didn't work looked like:

https://example.com/invitations/0o04040gww8ycwkcg252s80cs8cw4s00

and then the links that did work looked like:

https://example.com/auth/link?token=eyJpdiI6InY4eUxZalYzcTQvRkZlRmp6Y1k9IiwibWFjIjoiNjQyMDViMzYzMTgxMWZlNjJhOGY4NzAyYzI4M2ViMzg1Nzk0MjZiYjlkOWU4YzJhNGEwjg0ZmUxMiIsInRhZyI6IiJ9

It seems like removing a team member doesn't actually delete their account?

Minimal Reproduction (if possible, example repository)

  1. Have a team member signed up already
  2. Remove them via the /team/members page
  3. Generate a new invite link for them
  4. Observe that the link doesn't work

Exception or Error

No response

Version

v4.0.0-beta.284

Copy link
Member

I cannot reproduce the issue.

The link with /auth/link is for users who are not registered in your instance.

The link with /invitations is for users who already have an account in your instance.

Removing a team member does not delete the actual user. Yes, all users have their own personal team created. Otherwise, if you remove the user and they have no other teams available, then the user will be unable to access the system.

There is a new Admin View in the latest version, which allows the users with root privileges to delete any user from their instance.

image.png

@ck-euan
Copy link
Author

ck-euan commented May 23, 2024

That's great thank you @andrasbacsai

Can confirm after removing them via the new admin view I can re-invite properly :)

@ck-euan ck-euan closed this as completed May 23, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants