Skip to content

[OAuth Page] Showing "Invalid two-factor code" message on mobile for bot invites #6478

@AwesomeStickz

Description

@AwesomeStickz

Description

When you try to invite a bot to a server that requires 2fa for mod actions using a mobile browser (not in app), you get "Invalid two-factor code" message instead of a popup asking for your 2fa code

Steps to Reproduce

  1. Open a browser in your mobile (I tested only chrome)
  2. Go to a bot invite oauth url
  3. Select a server that requires 2fa for mod actions
  4. Click "Authorize", it'll now show the "Invalid two-factor code" message

Expected Behavior

Show a popup/field asking for user's 2fa code

Current Behavior

Showing "Invalid two-factor code" message

Screenshots/Videos

screenrecord.mp4

Client and System Information

Browser - Chrome 117.0.5938.153
OS - Android 13 (2201117TI)

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions