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

oAuth Users loose R.C-Role #19304

Closed
OlafDammann opened this issue Oct 20, 2020 · 2 comments · Fixed by #23588
Closed

oAuth Users loose R.C-Role #19304

OlafDammann opened this issue Oct 20, 2020 · 2 comments · Fixed by #23588

Comments

@OlafDammann
Copy link

Description:

R.C uses oAUTH against a WordPress running the Plugin "WP OAuth Server". Logging in works, a new user will be created in R.C.
BUT the User will not have any role AND the manually added role "user" disappears over time (maybe after they login again or after some time passed by).

Steps to reproduce:

  1. Install a WordPress and add and configure the Plugin "WP OAuth Server"
  2. Connect an R.C-Server via oAuth to it
    3 login usind WP-Users credentials
  3. In R.C Users-List you can see the user without a role.

Expected behavior:

The roles shall not disappear. At the moment R.C is heavily unusable.

Actual behavior:

as explained, the roles go away

Server Setup Information:

  • Version of Rocket.Chat Server: 370
  • Operating System: Ubuntu 18.04.5 LTS
  • Deployment Method: your official Docker image on
  • Number of Running Instances: 1
  • DB Replicaset Oplog:
  • NodeJS Version:
  • MongoDB Version: 4.0

Client Setup Information

Any client

Additional context

Relevant logs:

@OlafDammann OlafDammann changed the title oAuth Users lose R.C-Role oAuth Users loose R.C-Role Oct 20, 2020
@bbrauns
Copy link
Contributor

bbrauns commented Oct 20, 2020

probably same as #17466

@OlafDammann
Copy link
Author

probably same as #17466

Sounds a bit like.
Is maybe deactivating the "merge roles"-option a way? what does it do?

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

Successfully merging a pull request may close this issue.

2 participants