NREL / api-umbrella

Open source API management platform
MIT License
2.03k stars 325 forks source link

Unable to create admin account #368

Open saratala opened 7 years ago

saratala commented 7 years ago

We are planning to evaluate api-umbrella for our webservices that we are exposing to third party websites. I installed api-umbrella on my ubuntu VM. How ever after following the steps provided in the documentation, I am not able to create admin account to configure or add my apis. Please let me know if there is an issue. https:///admin is taking me to sign in page and there is not option for register.

GUI commented 7 years ago

Have you made any adjustments to the login providers (eg, enabling Google for logins)? If not, and you're using the default local accounts, then you should have been prompted to create an admin account on your first visit to the admin. Is it possible someone else created the admin account already? You can check to see what admin accounts might already exist by running the following command on the server:

/opt/api-umbrella/embedded/bin/mongo 127.0.0.1:14001/api_umbrella --eval "db.admins.find({}, { email: 1 })"

Alternatively, you can also create other initial admin accounts using the web.admin.initial_superusers configuration. Then you can use the email password reset functionality to set a new password.

Let us know if you're still having any trouble logging in.