firebase / firebase/firebase-admin-node

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

オープン
#2,174 コメント 0 件 リアクション 0 件 担当者 1 名 @renkelvin が担当を希望しています GitHub で見る
api: auth
主要言語
TypeScript
スター
1.7k
フォーク
419
平均マージ
3日 10時間
マージ済み PR(30日)
16

説明

### [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)
```

コントリビューションガイド

コントリビューションガイドを開く

評価

この issue はまだ評価されていません。

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。