javascript - yeoman angular firebase AUTHENTICATION_DISABLED -
i set project using yeoman generator angularfire according instructions here.
when try register or login, following error:
{"code":"authentication_disabled"}
i have enabled firebase authentication in firebase console, email/password auth.
the firebase site says include following code snippet, don't know should put after yeoman has generated app.
// initialize firebase // todo: replace project's customized code snippet var config = { apikey: "<api_key>", authdomain: "<project_id>.firebaseapp.com", databaseurl: "https://<database_name>.firebaseio.com", storagebucket: "<bucket>.appspot.com", }; firebase.initializeapp(config);
Comments
Post a Comment