Unable to login first time to admin after installing Magento2 - magento2

New installation of Magento2 on Ubuntu, the homepage and admin page loads, but doesn't accept the user/pass entered. There's no error message displayed either. Tried:
different browsers, clearing cache & cookies
timezone is correctly set on server.
reset pass directly from database
Any help would be appreciated.

Use the magento admin:user:create command to create a new administrator account or use the magento admin:user:unlock command to unlock the existing account.

Change localhost to ip address(127.0.0.1) in your base url and secure base url in "core_config_data" table.
Or
check with your firefox browser without any change.

Related

Not able to login to magento admin after domain name mapping

0
I have just migrate magento code from 2.2.5 to 2.4.3-p1 to a different server and enviroment. Parent domain and Sub-domain are hosted on cloudflare. As xyz.com and test.xyz.com.
I am not able to login to frontenad backend admin portal. Even after using correct credentials.
Action already taken: update core_config_data table in db as changed cookie domain value to .test.xyz.com , test.xyz.com , NULL , blank. Nothing is working . Pls help.
Delete cookies and cache from browser and magento. For Session storage i am using AWS Elast-cache Redis.
Might want to create a new user with new password. Magento sometimes resets the password and you can't unlock the user and have to create a new one....
try to reboot your server and flush cache.
it might be 'Invalid Form Key. Please refresh the page' error but didn't show message.

Azure "MySQL in App" An attempt was made to access a socket in a way forbidden by its access permissions

I activated “MySQL in app” on Azure and clicked the “Manage” link. A phpMyAdmin login page launches.
Login does not accept any username/password combo including what I find in MYSQLCONNECTSTR_localdb.ini.
Is there any other setup required to access the tool, or is there another tool I could use to create a new db on MySQL in App?
I found the problem. If the website has been stopped and restarted you have to first connect to the website URL from a browser.
Once you do that, the instance is running and you can connect to phpMyAdmin.
It will launch without a login screen.

Facebook Login not working on Dev Machine

I'm running Win Web Server 2008 R2.
I've got a site setup for development which I access on my test machine like this http://bossingway/
I'm trying to put the facebook login on this using their standard code they provide. I haven't added anything.
I've added http://bossingway/ to the SiteURL and it says the URL contains an invalid domain.
I've also tried adding it to Valid OAuth redirect URIs.
I keep getting the Given URL is not allowed by the Application configuration error from Facebook.
How do I get it to work on my testing server.
Looks like you're missing the top level domain, if your top level domain is '.com' for example, then you need to add 'http://bossingway.com'

asking credentials when opening worksheet

I had published my Dashboard to server and while opening it to server it is asking me to login. even I gave the correct credentials it is asking me to login again.
When I try to connect SQL server with the same credentials it is working.
To view a published a workbook (that uses a live connection) without being prompted for credentials, the credentials for the underlying data source must be embedded.
How is your data source configured? Live or Data Extract?
Did you choose the "Embedded Password" option when publishing to the server?

Moodle LDAP authentication

I'm using moodle 2.7 ,i need to use LDAP authentication for allowing users to login using external LDAP server(with their username and password).i have tried with the apache directory studio.But i got "Invalid login" error.But the login details were correct.
Please suggest me with some other LDAP server and how to add user details in that server and do authentication in moodle.
FusionDirectory is a reasonable alternative. It's based on OpenLDAP and it's pretty well documented.
Assuming that you're in a Linux environment, you can install it relatively easily/quickly via SSH. Once the download is complete, follow the on-screen instructions which is not that wildly different from setting up any odd CMS/LMS. The default URL is yourdomain.url/fusiondirectory.
When that's all done and dusted, you'll be taken back to the login page where you can sign in for the first time using the credentials you created during the set up process.
You can use your dashboard to add users/groups.
Once you've got a few users in there, it's now time to jump back to Moodle. Hop over to Site Admin -> Plugins -> Authentication -> Manage Authentication and enable "LDAP Server" then open up its settings. Fill in the details of your LDAP server such that it matches the details of the FusionDirectory.
This will set up the connection, but you will finally need to set up a cron job to regularly sync your databases together. Jump to SSH or cPanel->Cron jobs (Whatever option you prefer) and run the following crontab:
wget -q -O /dev/null https://yourdomain.url/auth/ldap/cli/sync_users.php
It's up to you how frequently you choose to set it.
HTH.