Repository navigation
refactor(account): use Utopia Auth Phrase proofs - #13226
Merged
Merged
Conversation
Delete the leftover Appwrite Phrase helper and generate magic-URL and OTP security phrases through Utopia\Auth\Proofs\Phrase. Co-authored-by: Eldad A. Fux <[email protected]>
✨ Benchmark resultsComparing
Per-scenario breakdown & investigation detailsMetrics below reflect the current branch (after). Δ P95 compares against the base.
Top API waits (after)
|
Contributor
Greptile SummaryThe PR replaces Appwrite’s local security-phrase helper with the equivalent phrase proof supplied by Utopia Auth.
Confidence Score: 5/5The PR appears safe to merge, with no concrete blocking or non-blocking issues identified. Both security-phrase call sites were migrated consistently, and no remaining repository consumer of the deleted helper was found. Important Files Changed
Reviews (1): Last reviewed commit: "refactor(account): use Utopia Auth Phras..." | Re-trigger Greptile |
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?
Deletes the leftover
Appwrite\Auth\Phrasehelper and generates magic-URL / OTP security phrases throughUtopia\Auth\Proofs\Phrase, which already ships inutopia-php/auth.Phrase::generate()was a static wrapper around the same adjective/noun lists. The Utopia proof is instance-based, so call sites now use(new Phrase())->generate().This is independent of the larger Auth validator and OAuth2 client moves.
Test Plan
Appwrite\Auth\Phrasehas no remaining references.Related PRs and Issues