firebase / firebase/firebase-admin-node
Cannot creating users with phone numbers in E.164 format from some countries
- 主要语言
- TypeScript
- 星标
- 1.7k
- 派生
- 419
- 平均合并
- 3 天 10 小时
- 30 天内合并 PR
- 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 还没有评估数据。