Skip to content

Google OAuth Login broken in 4.4.0 #24355

@mr-karan

Description

@mr-karan

Description:

After upgrading to 4.4.0, Google OAuth complains about redirect_uri mismatch. Nothing has changed in the config, only upgraded from 4.3.0 to 4.4.0 caused this.

Steps to reproduce:

  1. Login using Google OAuth
  2. See the error message
Error 400: redirect_uri_mismatch

You can't sign in to this app because it doesn't comply with Google's OAuth 2.0 policy.

Expected behavior:

Google OAuth should work normally as it was working a version before.

Actual behavior:

image

Server Setup Information:

  • Version of Rocket.Chat Server: 4.4.0
  • Operating System: Doesn't matter
  • Deployment Method: docker
  • Number of Running Instances: 1
  • DB Replicaset Oplog: Dont know where to find this
  • NodeJS Version: v14.18.2
  • MongoDB Version: 4.2.18 / wiredTiger (oplog Enabled)

Client Setup Information

  • Desktop App or Browser Version: Chrome Version 97.0.4692.99 (Official Build) Arch Linux (64-bit)
  • Operating System: Arch Linux

Additional context

The OAuth URL is correct and unchanged in the settings:

image

Relevant logs:

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions