Bill.IHChaOriginal post
Rank 3: Container
When I click cancel when trying to auth to Discord but click cancel instead of Authorize it redirect me to appwrite's API and it returned:
Error 400
Param "code" is not optional.
Error ID: xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
instead of redirecting me to the failure URL
I have to manually enter &code=0 to make it redirect
Summary
The user encountered a bug where Appwrite does not redirect to the failure URL when Discord OAuth2 fails. A solution for this issue is provided in the support thread by manually entering `&code=0` to force the redirect. The bug has been acknowledged and users are encouraged to support it on GitHub.