firebase / firebase/firebase-admin-node

Cannot creating users with phone numbers in E.164 format from some countries

Đang mở
#2,174 0 bình luận 0 reaction 1 người được giao Được @renkelvin nhận Xem trên GitHub
api: auth
Ngôn ngữ chính
TypeScript
Star
1.7k
Fork
419
Merge trung bình
3 ngày 10 giờ
Pull request đã merge (30 ngày)
16

Mô tả

### [REQUIRED] Step 2: Describe your environment

* Operating System version: Windows 10
* Firebase SDK version: 11.5.0
* Firebase Product: auth
* Node.js version: v16.15.0
* NPM version: 8.5.5
*
### [REQUIRED] Step 3: Describe the problem

#### Steps to reproduce:

I am writing to report an issue I am experiencing while attempting to create users with phone numbers in E.164 format from countries like Belgium and Ireland. When I try to create a user with a phone number in E.164 format, I receive an error message that prevents the user from being created.

Belgium number : +3227933835
Ireland number : +35315530073

Reference of valid E.164 format of this countries : https://newvoicemedia.atlassian.net/wiki/spaces/DP/pages/125468684/E.164+format

I always get the error message :

```
{
"code": "auth/invalid-phone-number",
"message": "TOO_SHORT"
}
```

#### Relevant Code:

```
admin.auth().createUser(body)
```

Hướng dẫn đóng góp

Mở hướng dẫn đóng góp

Đánh giá

Issue này chưa được đánh giá.

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.