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

Resend Invitation link is broken when redash is configured to use MULTI_ORG #4619

Closed
drumbsd opened this issue Feb 7, 2020 · 3 comments
Closed

Comments

@drumbsd
Copy link

drumbsd commented Feb 7, 2020

Issue Summary

When create a new user, redash is configured with MULTI_ORG=True and SMTP is not configured, if you try to access to link that is provided by redash to setup the password:

https://foo.bar.com/invite/IjEdcdcd.ER7udscsiCslt-i_RMuScVsdcsdDWtEt9g

You see that in the URL miss the organization name (in this case "default" ) since is the default organization. Indeed you have to transform this URL to have the correct link to create a new passowrd.

https://foo.bar.com/default/invite/IjEdcdcd.ER7udscsiCslt-i_RMuScVsdcsdDWtEt9g

Steps to Reproduce

  1. Configure redash to use multi organizations.
  2. Create a new user, under pending invitations, click on the link that is displayed after press the "Resend Invitation".

Technical details:

  • Redash Version: 8.0.0
  • Browser/OS: Chrome
  • How did you install Redash: From docker with setup.sh
@rauchy
Copy link
Contributor

rauchy commented Mar 3, 2020

Thanks for reporting @drumbsd. Can you make sure you have a the name of your host set up in the REDASH_HOST environment variable?

@drumbsd
Copy link
Author

drumbsd commented Mar 3, 2020

Hello, yes I tried now using REDASH_HOST environment variable set, but the issue still persists.

In addition to what has been said, I have just discovered that it is not only the resend function, but this also happens when you create a new user from scratch.

@drumbsd
Copy link
Author

drumbsd commented Mar 3, 2020

Sorry my fault, setting REDASH_HOST problem seems fixed. Many thanks.

@drumbsd drumbsd closed this as completed Mar 3, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants