You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
🐛 Bug Report: Stripe OAuth2 sign-in fails because the token exchange never sends the secret key #15368
Sign in with Stripe can't complete. Appwrite\Auth\OAuth2\Stripe::getTokens() posts the authorization code to https://connect.stripe.com/oauth/token without authenticating, so Stripe rejects the code exchange. The API Secret Key saved in the provider settings is never sent.
Details
src/Appwrite/Auth/OAuth2/Stripe.php, getTokens(): the body contains only grant_type and code, and the headers array is empty.
Authenticate the token and refresh requests with the stored secret key, for example Authorization: Bearer <secret key>.
Notes
This comes from reading the adapter against Stripe's OAuth reference. I didn't reproduce it with live Stripe credentials. It turned up while adding OAuth providers to the appwrite.io integrations catalog, and the Stripe catalog page is held back until this is fixed.
i'd like to take this on if it is still available. could this issue be assigned to me?
my proposed scope is authenticating the token-exchange and refresh requests with the configured secret, with mocked-request regression tests for both flows, refresh-token fallback, and provider errors. the report and current adapter suggest the missing authentication, but i have not reproduced this with live stripe credentials.
i plan to use ai assistance and follow the project's review and testing requirements. i'll wait for assignment before implementation and follow up through the prescribed discord process.
Activity
RealAdii commentedon Nov 8, 2026
i'd like to take this on if it is still available. could this issue be assigned to me?
my proposed scope is authenticating the token-exchange and refresh requests with the configured secret, with mocked-request regression tests for both flows, refresh-token fallback, and provider errors. the report and current adapter suggest the missing authentication, but i have not reproduced this with live stripe credentials.
i plan to use ai assistance and follow the project's review and testing requirements. i'll wait for assignment before implementation and follow up through the prescribed discord process.