User permission in not enough to login with OAuth

Description

We’ve configured Third-party login application for our Wekan instance to allow users login to Wekan with RC creds. And it works but somewhy only for users with Admin role. Regular user gets “Not authorized” error. I see in user’s profile he latest timestamp of login and it’s he same as login attempt, but 0 information about this login in both RC and Wekan logs. User became able to login when i made it an Admin for a moment and lost it’s permissions when i removed Admin role.
I feel like i’m blind but i see no info about special permission for users to use RC OAuth in RC or Wekan documentation. Is there any?

Server Setup Information

Wekan 6.0.9
RocketChat 6.7.1 with snap
Ubuntu 22
Nginx 1.18

  • Version of Rocket.Chat Server:
  • Operating System:
  • Deployment Method:
  • Number of Running Instances:
  • DB Replicaset Oplog:
  • NodeJS Version:
  • MongoDB Version:
  • Proxy:
  • Firewalls involved:

Any additional Information

Likely due to this. I think you have to allow Manage Oauth Apps.
However…

Tnank you, this works.

Cool.

Watch that bug as there are likely to be some changes in due course.