firebase / firebase/firebase-ios-sdk

[FR]: Add support for password validation against password policy

Open
#13,525 1 comment 0 reactions 0 assignees View on GitHub
api: auth type: feature request
Dominant language
C++
Stars
6.7k
Forks
1.8k
Avg merge
2d 18h
Merged PRs (30d)
75

Description

### Description

1. During email/password signup, user can receive feedback if the password doesn't fulfill requirements
2. I can't find an API for this in the iOS SDK
3. I see that the firebase-js-sdk supports this feature.
- https://cloud.google.com/identity-platform/docs/password-policy#enforcing_on_the_client_side)
- https://github.com/firebase/firebase-js-sdk/blob/62348e116c795d19c5ca58729c250805240ce345/packages/auth/src/core/index.ts#L124-L130

### API Proposal

usage might look like:
```swift
Auth.auth().validatePassword('password123')
```

### Firebase Product(s)

Authentication

Contributor guide

Open the contributing guide

Research direction

Start with the password-policy documentation and the referenced firebase-js-sdk packages/auth/src/core/index.ts implementation. Then inspect the iOS SDK's existing Auth API entry points to determine how client-side validation would fit. Done means agreeing on an iOS API and providing password-policy feedback during email/password signup.

Written by the indexing model from the issue text.

Assessment

Tech stack
ios, swift
Domain
authentication, mobile
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
30/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.