Cam anyone share how to use Discord QR code?

I want to login to the Discord with QR code but now working.

On the “User Settings” screen, tap “Scan QR Code.”
If Discord doesn’t already have camera permissions, it will ask you to grant that permission. Now that Discord on your phone is ready to scan the code,
open the Discord desktop app or Discord for the web where you want to sign in.
You’ll see a QR code.