Skip to content

fix: skip email validation for passkey#9

Merged
sirily11 merged 1 commit into
mainfrom
fix-focus-issue
May 27, 2026
Merged

fix: skip email validation for passkey#9
sirily11 merged 1 commit into
mainfrom
fix-focus-issue

Conversation

@sirily11

Copy link
Copy Markdown
Contributor

No description provided.

Copilot AI review requested due to automatic review settings May 27, 2026 10:23
@sirily11 sirily11 enabled auto-merge (squash) May 27, 2026 10:23
@autopilot-project-manager autopilot-project-manager Bot added the bug Something isn't working label May 27, 2026

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR updates the passkey submission flow in RxSignInView to bypass form validation during passkey sign-in, and also modifies the test app’s Xcode project Swift Package reference/linkage.

Changes:

  • Skip schema field validation when submitting passkey sign-in (still validate for passkey sign-up).
  • Update the test Xcode project’s local Swift package reference path.
  • Add additional Swift package product dependency/build file entries for RxAuthSwift/RxAuthSwiftUI in the test app target.

Reviewed changes

Copilot reviewed 2 out of 2 changed files in this pull request and generated 4 comments.

File Description
test/test.xcodeproj/project.pbxproj Alters local Swift package reference and adds additional package product dependencies/framework link entries for the test app target.
Sources/RxAuthSwiftUI/RxSignInView.swift Changes passkey submission to skip validation during sign-in (but not during sign-up).

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment on lines 50 to 55
files = (
DF4628AB2FC6EAEC002D9562 /* RxAuthSwiftUI in Frameworks */,
DF84396E2F3C848E00461950 /* RxAuthSwiftUI in Frameworks */,
DF4628A92FC6EAEC002D9562 /* RxAuthSwift in Frameworks */,
DF84396C2F3C848E00461950 /* RxAuthSwift in Frameworks */,
);
Comment thread test/test.xcodeproj/project.pbxproj Outdated
Comment on lines +109 to +110
DF4628A82FC6EAEC002D9562 /* RxAuthSwift */,
DF4628AA2FC6EAEC002D9562 /* RxAuthSwiftUI */,
Comment thread test/test.xcodeproj/project.pbxproj Outdated
Comment on lines 514 to 517
DF4628A72FC6EAEC002D9562 /* XCLocalSwiftPackageReference "../../RxAuthSwift" */ = {
isa = XCLocalSwiftPackageReference;
relativePath = ..;
relativePath = ../../RxAuthSwift;
};
// For passkey sign-in, skip validation - the passkey identifies the user.
// For sign-up, we still need to validate user info fields.
if mode == .signUp {
guard validate(schema, requirePassword: false) else { return }
@sirily11 sirily11 merged commit 31e20ef into main May 27, 2026
4 checks passed
@sirily11 sirily11 deleted the fix-focus-issue branch May 27, 2026 14:20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants