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

Redirect loop when using non-discord Hubs account #105

Open
robertlong opened this issue Oct 6, 2020 · 2 comments
Open

Redirect loop when using non-discord Hubs account #105

robertlong opened this issue Oct 6, 2020 · 2 comments

Comments

@robertlong
Copy link
Contributor

From Discord:

I'm running my own Hubs Cloud on AWS and added discord bot to my discord server. Then, I created a room by bot. when I click to enter a room the message "You'll need to sign in to Discord to access this room" comes out
hong Robert I think I figured out where this bug is coming from as I ran into it myself. If you are signed into hubs on an account that does not match the email of your discord account, you get an infinite loop of the screenshots hong shared.

So I guess it is intended that you cannot log in this way (although it might be better to throw an exception). I see the logs on my aws instance make sense as well - you get a 'REFUSED JOIN' entry

Hmm, what do you mean by infinite loop? I think that is expected behavior.

It loops between sign into discord (https://discordapp.com/channels/498741086295031808/537752059991031818/754378149122277497) and bot authorisation (https://discordapp.com/channels/498741086295031808/537752059991031818/754378250666639421)

@PeterCarragher
Copy link

PeterCarragher commented Oct 7, 2020

Here is a log from my hubs cloud aws instance: log.txt

Steps to repro:

  1. add hubs bot to discord channel and link to hubs room
  2. log into hubs domain with admin account (or any account that does not match email linked to discord account).
  3. click invite link to join hubs room from discord channel
  4. click sign into discord discord
  5. click authorize authorize

Steps 4 & 5 will loop infinitely (instead of throwing an error).

@Bruguera-cbcat
Copy link

Hi, someone found a solution? I have the same issue

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

4 participants
@robertlong @PeterCarragher @Bruguera-cbcat and others