Skip to content

Comments

[FIX] users registered via third party apps bypass custom required fields#22396

Merged
tassoevan merged 9 commits intodevelopfrom
fix/oauth-custom-fields
Aug 6, 2021
Merged

[FIX] users registered via third party apps bypass custom required fields#22396
tassoevan merged 9 commits intodevelopfrom
fix/oauth-custom-fields

Conversation

@gabrieleiro
Copy link
Contributor

Proposed changes (including videos or screenshots)

moves the custom fields from the initial registration form to the "pick a username" screen so that everyone is forced to fill the custom required fields

Issue(s)

Closes #21960

Steps to test or reproduce

Further comments

@gabrieleiro gabrieleiro requested a review from a team June 17, 2021 19:44
Copy link
Member

@gabriellsh gabriellsh left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Trying to register a new user is throwing a custom fields error instead of redirecting to username selection, but It's no longer possible to fill the custom fields since they were moved to the username selection screen.

The user is created normaly though, and loging with email redirects correctly to the username selection.

@gabrieleiro gabrieleiro force-pushed the fix/oauth-custom-fields branch from 4f30f0e to 17b47b0 Compare July 26, 2021 21:23
@tassoevan tassoevan merged commit e1f0e79 into develop Aug 6, 2021
@tassoevan tassoevan deleted the fix/oauth-custom-fields branch August 6, 2021 15:17
gabriellsh added a commit that referenced this pull request Aug 10, 2021
* 'develop' of github.com:RocketChat/Rocket.Chat:
  [FIX] Manually approve new users is not applied to SAML users (#22823)
  [FIX] applyChatRestictions callback not working for community version (#22839)
  [FIX] Message update not working in some cases (#22856)
  [FIX] Broken download link on uploaded files (#22848)
  [FIX] User is still asked for 2FA confirmation even if 2FA is globally deactivated. (#22801)
  [FIX] Registration not possible with TOTP and email verification (#22778)
  [FIX] users registered via third party apps bypass custom required fields (#22396)
  [FIX] "Click to Join" button is not working if there are no muted users in the room (#22871)
  [BREAK][ENTERPRISE] CSV file downloaded in the Engagement Dashboard's New Users section contains undefined data (#22862)
  Fix Local time conversion in the Users By Time of the Day chart (#22836)
@sampaiodiego sampaiodiego mentioned this pull request Aug 31, 2021
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 this pull request may close these issues.

Required custom fields can be empty if registration is done using OAuth

3 participants