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
Keep the released parameter order for updateOAuth2Kakao #14498
Goal: Keep project.updateOAuth2Kakao in its released SDK parameter order (clientId, clientSecret, prompt, enabled). #14467 moved prompt after enabled for every provider on the OAuth2 Base path, so the next SDK regeneration would shift existing positional Kakao calls.
What changes:
src/Appwrite/Platform/Modules/Project/Http/Project/OAuth2/Base.php: new isPromptBeforeEnabled() hook (defaults to false). When a provider returns true, prompt is declared before enabled and the route uses a new updateWithPromptFirst() callback that forwards to updateWithPrompt() with the arguments in the right order.
src/Appwrite/Platform/Modules/Project/Http/Project/OAuth2/Kakao/Update.php: overrides isPromptBeforeEnabled() to return true.
app/config/sdks/parameters.lock.json: both project.updateOAuth2Kakao entries record prompt before enabled.
Other providers keep their current order: Discord, GitHub and Zoho stay clientId, clientSecret, enabled, prompt, and Amazon (no prompt) stays clientId, clientSecret, enabled.
Remaining steps: None. The linked PR is the full change.
Done when:
tests/unit/SDK/ParametersTest.php passes against the updated lock
Kakao's declared params and callback arguments are both clientId, clientSecret, prompt, enabled
Activity