Closed norehman closed 1 year ago
When do you get the error, exactly? Following the redirect to wp-login.php (with the "random characters" at the end)? What version of WordPress are you using?
When I press the login button it redirects to the Microsoft page then it redirects me back to /wp-login.php?code=
I am using a brand new WordPress install - 6.1.1
When I press the login button it redirects to the Microsoft page then it redirects me back to /wp-login.php?code=
Understood, but is that when the error message shows up? Or is there a subsequent attempt to redirect when the error shows up? Can you share a screenshot of the error?
Upon signing into the Microsoft page, it redirects immediately to the /wp-login.php page. Here is the error (I've omitted the domain): `
Just wondered if you had a chance to take a look at this? I am being pushed to come up with a solution so may need to buy a plugin on this occasion but would be really useful if I could get it up and running. Thanks for your help.
I'm unable to reproduce the issue as you've described it, I just tried with a fresh WordPress install and fresh download of the plugin.
Can you confirm the following (replace "www.example.com" with your domain):
Apologies for the lack of response. The issue was resolved. I created a new hosting plan and tested it away from our VPS and was able to confirm the issue was related to our Windows-based host and file permissions.
Sounds good, thanks for following up!
I have tried to follow the instructions and set it up but I cannot get past this error when I sign in "You do not have permission to view this directory or page.".
We are hosted via Plesk on a Windows-based VPS. It's a brand new vanilla install of WordPress with only this plugin installed. I have verified permissions in Azure and they are set correctly Graph is configured with the standard required delegated access and I also tried it with the permission to read groups following the instructions.
The redirect URI is the same on both Azure and WordPress I am simply trying the basics to test the functionality but either way when I press the Login option it takes me to the Microsoft Azure page then redirects to the base wp-login.php page with loads of random characters on the end.
I have set it to provision accounts and not provision accounts and I've configured it to set the role as a subscriber by default but still no luck.
I'm not sure what I'm doing wrong but could do with some advice on how I get it to work.