discord-api-docs icon indicating copy to clipboard operation
discord-api-docs copied to clipboard

[OSX] OAuth request does not open into Discord app

Open ale-rinaldi opened this issue 1 year ago • 1 comments

Description

I found out out that, if I open a Discord invite link (https://discord.gg/abcdef or https://discord.com/invite/abcdef) I get a message like "Starting Discord app" and the invite request pops up into the Discord app.

The same doesn't happen for OAuth requests (https://discord.com/oauth2/authorize/...): instead, all of the flow has to be done inside the web browser.

This is quite annoying since an average user is logged into the Discord app, but not necessarily logged into the Discord website, thus having to log in again. I've seen that on the other side, if I open an OAuth link from inside the Discord app itself (like from a message) the entire flow is performed within the app.

Is this a bug or an intended workflow? For me, it would make a lot of sense to have the flow inside the Discord app, if available, just as the other invites.

Steps to Reproduce

  • Install and log into the Discord app on Mac OS X
  • Open an OAuth link from the web browser

Expected Behavior

The OAuth flow is triggered inside the Discord app

Current Behavior

The OAuth flow stays inside the web browser

Screenshots/Videos

No response

Client and System Information

Mac OS X Ventura 13.1, Discord app 0.0.272

ale-rinaldi avatar Jan 16 '23 16:01 ale-rinaldi

Hi just wanted to check on this because it affects Android as well (or at least Android through Supabase OAuth)

heatcreep avatar Apr 17 '24 18:04 heatcreep