-
Notifications
You must be signed in to change notification settings - Fork 1.1k
Closed
Description
[REQUIRED] Environment info
firebase-tools:
9.1.2
Platform:
MacOS 11.0.1
[REQUIRED] Test case
Request to:
DELETE http://localhost:9099/emulator/v1/projects/{projectId}/accounts
[REQUIRED] Steps to reproduce
- Run firebase auth emulator using FIREBASE_AUTH_EMULATOR_HOST=localhost:9099
- Make a DELETE request to
http://localhost:9099/emulator/v1/projects/{projectId}/accountsas described in the API - Get an authentication error
[REQUIRED] Expected behavior
Delete all user accounts
[REQUIRED] Actual behavior
Following response:
{
"error": {
"code": 401,
"message": "Request is missing required authentication credential. Expected OAuth 2 access token, login cookie or other valid authentication credential. See https://developers.google.com/identity/sign-in/web/devconsole-project.",
"errors": [
{
"message": "Login Required.",
"domain": "global",
"reason": "required",
"location": "Authorization",
"locationType": "header"
}
],
"status": "UNAUTHENTICATED"
}
}