Rank 2: Process
How can I add prompt=none as a query arg for OAuth2-Login via Discord?
Votes
0
Replies
10
Participants
4
Messages
11
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
Rank 2: Process
Is it released yet?
On backend yes, on SDK it seems not yet.
@Chirag Aggarwal Could we release SDK this week? We can mention it internally, see if anyone has SDK change they want live soon. If nothing major, we can release today/tomorrow 🤞
all server sdks or client?
Oh right right, actually, we dont need SDK release for this. @Lennox you should be able to set the prompt in Appwrite Console, under settings of the oauth2 social login provider
That said, it's server SDK. Still worth releasing eventuelly, but urgency is probably gone