Rank 2: Process
How can I add prompt=none as a query arg for OAuth2-Login via Discord?
Votes
0
Replies
5
Participants
3
Messages
6
Rank 2: Process
How can I add prompt=none as a query arg for OAuth2-Login via Discord?
What I would do is...get the link that
account.createOAuth2Session() redirects to (it should look like this)
https://discord.com/oauth2/authorize?response_type=code&client_id=...
and then simply append &prompt=none to the end of it
https://discord.com/oauth2/authorize?response_type=code&client_id=...&prompt=none
and then use this url instead of the account.createOAuth2Session (it should do the same thing)
grr I solved this in few adapters already.. Let me solve it in all now: https://github.com/appwrite/appwrite/pull/13905
Rank 2: Process
ty
Rank 2: Process

Merged 🥳 will go live next week