Add resend OAuth2 provider to migration allow-list - #223
Merged
Conversation
Appwrite server is adding a built-in 'resend' OAuth2 provider (appwrite/appwrite#13366). Without an entry in the PROVIDERS allow-list, migrations report "No migration resource for OAuth2 provider 'resend'; skipped." and the transfer fails. Only clientId migrates (to the resendAppid attribute); clientSecret is write-only and stays redacted per the existing policy. Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
Contributor
Greptile SummaryAdds the Resend OAuth2 provider to the migration allow-list while preserving the existing policy that excludes write-only client secrets.
Confidence Score: 5/5The PR appears safe to merge with no actionable correctness or security issues identified. The new provider follows the established allow-list mapping, reaches the destination’s generic provider-field handling, and retains the existing secret-exclusion boundary. Important Files Changed
Reviews (1): Last reviewed commit: "Add resend OAuth2 provider to migration ..." | Re-trigger Greptile |
Meldiron
added a commit
to appwrite/appwrite
that referenced
this pull request
Aug 27, 2026
Picks up the 'resend' entry in the OAuth2 provider migration allow-list (utopia-php/migration#223), fixing the Migrations E2E failure "No migration resource for OAuth2 provider 'resend'". Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What does this PR do?
Adds the new
resendOAuth2 provider to theOAuth2Provider::PROVIDERSallow-list, following the same pattern as the recentappwrite(#207) andhuggingface(#221) entries.Appwrite server is adding a built-in Resend OAuth2 provider in appwrite/appwrite#13366. Its Migrations E2E suite currently fails because exporting a project surfaces:
Only
clientIdmigrates (to the destination'sresendAppidattribute).clientSecretis write-only and stays redacted per the existing allow-list policy — the destination side is fully generic, so no other changes are needed.Test Plan
testFromArrayResendtoOAuth2ProviderTest, mirroring the existing per-provider tests.testFromArrayNeverCopiesSecretssweep now also coversresendand confirmsclientSecretis never copied../vendor/bin/phpunit tests/Migration/Unit/Resources/OAuth2ProviderTest.php— 5 tests, 157 assertions, all passing;composer lintpasses.Related PRs and Issues
Tests / E2E / PostgreSQL (dedicated) / Migrationscheck)🤖 Generated with Claude Code