New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Error: Authentication required #160
Comments
Can you please run One final thing to check is to make sure that you are deploying to the project id not the subdomain of your app. |
Ok, I ended up upgrading nodejs on my windows laptop and firebase list did show my projects. But when I run firebase deploy I get: Error: Unable to authorize access to project milohas Note: This version of the Firebase CLI is only compatible with projects upgraded I do have permission to access this project as I am successfully able to run firebase deploy on a Fedora 23 VM. |
When you run |
I have the same problem:
This happened after 'upgrading' my app from the 'legacy console' at https://www.firebase.com/account/ to https://console.firebase.google.com/ |
Having the same issue here. When I do |
Any update on this? I literally cannot deploy any updated with a fix for this. |
@tavosansal try downgrading Frustrating isn't it?
|
I have the same issue for a while now. I tried a couple of things like downgrading firebase-tools@2, I have the project id on .firebaserc and no subdomain but nothing works. I get no project listed on firebase list but i clearly have a project on the dashboard. I also tried to deploy with a FIREBASE_TOKEN but without success. Here is my firebase --debug Error Context: {
"requestOptions": {
"method": "GET",
"json": true,
"url": "https://admin.firebase.com/firebase/talentmap/token?token=-KFQF7KUYFZ7AvBQG_FN%7Ca3600ce1d3feedf3bb38df18a5e3199f"
},
"body": {
"error": {
"code": "AUTHENTICATION_REQUIRED",
"message": "Authentication required."
}
},
"response": {
"statusCode": 401,
"body": {
"error": {
"code": "AUTHENTICATION_REQUIRED",
"message": "Authentication required."
}
},
"headers": {
"server": "nginx",
"date": "Sun, 27 Nov 2016 14:30:16 GMT",
"content-type": "application/json; charset=utf-8",
"content-length": "81",
"connection": "close",
"access-control-allow-origin": "*",
"access-control-allow-methods": "GET, PUT, POST, DELETE, OPTIONS",
"x-content-type-options": "nosniff"
},
"request": {
"uri": {
"protocol": "https:",
"slashes": true,
"auth": null,
"host": "admin.firebase.com",
"port": 443,
"hostname": "admin.firebase.com",
"hash": null,
"search": "?token=-KFQF7KUYFZ7AvBQG_FN%7Ca3600ce1d3feedf3bb38df18a5e3199f",
"query": "token=-KFQF7KUYFZ7AvBQG_FN%7Ca3600ce1d3feedf3bb38df18a5e3199f",
"pathname": "/firebase/talentmap/token",
"path": "/firebase/talentmap/token?token=-KFQF7KUYFZ7AvBQG_FN%7Ca3600ce1d3feedf3bb38df18a5e3199f",
"href": "https://admin.firebase.com/firebase/talentmap/token?token=-KFQF7KUYFZ7AvBQG_FN%7Ca3600ce1d3feedf3bb38df18a5e3199f"
},
"method": "GET",
"headers": {
"accept": "application/json"
}
}
}
} |
i faced same issue ... i did |
I'm facing the same issue from last night. No change on the firebase-cli and I was able to deploy successfully earlier (about 3 hours prior). I tried login/logout but still not working. I noticed that running curl I received 'AUTHENTICATION_REQUIRED' return. And running firebase deploy I received 'Auth token is expired', but I don't know how to renew it. I can still get into the Firebase console with the same account without any problem.
Command: C:\Program Files\nodejs\node.exe E:\AppData\Roaming\npm\node_modules\firebase-tools\bin\firebase deploy --debug
|
I removed firebase.json and .firebaserc and ran firebase init again. It worked. |
Thank you. I'll keep that in mind if it happens again. I don't remember how I resolved it then. |
Hi,
I recently upgraded to the new Firebase console however when running firebase deploy I get
Error: Authentication required.
So I logout and then login again however still get the same results.
Any ideas?
The text was updated successfully, but these errors were encountered: