-
Notifications
You must be signed in to change notification settings - Fork 10k
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
User authenticated using OAuth not added to default rooms due to default avatar issue #25406
Comments
I could not reproduce on our RC 4.6.3 instance that uses Oauth. My previous experience on the matter: Make sure that you have Also just in case do not set |
I take a look at the settings and both are configured to assign the
By takeing a second look at the logs I found the following error:
My guess would be that the error mentionned above prevent the call to I'm not sure what I can do to debug this. |
Looking at the GitHub option it indeed has very few options for configuration indeed. Ours use custom Oauth setup so it has more options to choose from. You are correct, seems to be a new bug. |
The issue is actually a consequence of a problem related to avatar code. Disabling the option Accounts → Avatar → Set Default Avatar allow to avoid the issue. |
Description:
A new user that perform authentication using OAuth (GitHub, Google, etc.) is not added to rooms configured as "default". A user that register with username and password is added, as expected, to the "default" rooms.
Steps to reproduce:
Expected behavior:
A new user should be added to all default room not matter the authentication mechanism used.
Actual behavior:
User not added to default room when using OAuth.
Server Setup Information:
Client Setup Information
Relevant logs:
{"level":50,"time":"2022-05-09T12:49:50.313Z","pid":37,"hostname":"01a08d797a59","name":"System","msg":"Exception while invoking method setUsername 'Cannot read property 'blob' of undefined'"}
This log is due to code call but I don't know the exact root cause.
The text was updated successfully, but these errors were encountered: