HTTP Error 403 - Forbidden in magento 1.9 google login problem
I am following this link to add google account to my magento site: https://inchoo.net/magento/social-connect-magento-extension/
I double check if I missed any configuration but none.
After connecting at the time of redirecting, it is showing 403 error.
Here is the full url to see if you can get any clue out of it: https://shop.aquaventure.in/socialconnect/google/connect/?state=78237fa277f9dc7c15c07d4eba11ee86&code=4/7QBrN0d0RsIwFOXiuGvWR0MCd5dp3GmyZ6QilPihozYQuOKUU4RCANEuQ7Hq8ZYxufCMfAcjJ7PE1nAiNrcfa6Y&scope=email%20profile%20https://www.googleapis.com/auth/userinfo.profile%20https://www.googleapis.com/auth/userinfo.email
See also questions close to this topic
Composer out of memory - need alternative way to increase PHP memory_limit
I'm trying to install an extension on a client's Magento 2 via Composer, but I'm running into the old PHP out of memory error.
My client is hosted with Bluehost, which unfortunately means I can't just go in and change the memory_limit in php.ini, as it's read only, and their cPanel MultiPHP INI Editor doesn't affect SSH. My client has been in touch with Bluehost, and they were told Bluehost doesn't allow SSH memory_limit to be altered, HOWEVER, my client only recently had to install a different extension, which required the memory_limit to be increased, but they did it themselves and they can't remember what commands they used or the file they edited.
I can confirm Composer is installed properly on the server, since I can run the command
composer require path/to/extension. This just results in the out of memory error.
Running the command
COMPOSER_MEMORY_LIMIT=-1 composer require amasty/advanced-reviewresults in the same error:
mmap() failed:  Cannot allocate memory mmap() failed:  Cannot allocate memory Fatal error: Out of memory (allocated 809508864) (tried to allocate 4096 bytes) in phar:///opt/cpanel/composer/bin/composer/src/Composer /DependencyResolver/RuleSetGenerator.php on line 126
Anyone have any suggestions as to what I can do to get things working properly?
How to fix cannot to write magento 2
Cannot write to the "D:/xampp702/htdocs/magento221717dt/pub/errors/maintenancemode/page.phtml" file. Unable to write I tried to fix it but it not working. Thank you for watching
Cross-platform validation issues: links not working on some devices
I have a magento site, and a menu on it. They menu isn't super complicated. Here is a snippet of the menu:
<ul class="nav top-main-navigation"> <li class="dropdown"><a href="/jewelry-categories.html">Jewelry</a> <ul class="dropdown-menu"> <div class="jewelry"> <li><a href="/jewelry-categories/pendants.html">Pendants</a></li> etc ...
However, I've noticed that on samsung devices the links won't redirect to the page they are suppose too. It works on desktop on multiple browsers and Iphones, and other android phones. What can I do to fix this intermittent issue?
Edit: The phone I'm having issues with is a Galaxy s8
How do I develop code using Google API's OAuth2 locally?
I have recently started a fairly large scale project using Laravel and Google Drive. I am hooked in to the API and all is running smoothly. My main issue is that google will not allow callbacks to localhost, so to test any code changes I have to push my changes to the live site and troubleshoot from there. I am hoping there is a way around this as it is a very tedious process. I'm open to any solutions anyone might have.
why Scopes in Google Api can't request the name/profile?
I want used multiple scopes in the Google Api to get email and profile. I tried so many scopes like:
"openid" "email" "profile" "https://www.googleapis.com/auth/plus.login", "https://www.googleapis.com/auth/plus.me", ".............................../userinfo.email" ".............................../userinfo.user.phonenumbers.read" ".............................../userinfo.profile", ".............................../user.emails.read" ".............................../plus.profile.emails.read"
only this one
"https://www.googleapis.com/auth/user.emails.read"can work, others just don't. It only shows "View your email addresses" in authorization page when I add scope
".../user.emails.read". I also want it to show "Know who you are on Google", which scope should I use?
The url I used is "https://accounts.google.com/o/oauth2/auth?access_type=offline&client_id=XXXXXX&redirect_uri=XXXXXX&response_type=code&scope=openid%20https://www.googleapis.com/auth/plus.me%20https://www.googleapis.com/auth/userinfo.profile%20https://www.googleapis.com/auth/user.emails.read&hl=en_US&prompt=consent"
ps. I can't post to many links, so use "...." .
How to automate getting an 'authorizationCode' from Google's OAuth 2.0 authentication system
I am automating REST endpoints that rely on an 'authorizationCode' that you would typically get by running through the oAuth user consent flow provided by Google as described here https://developers.google.com/identity/protocols/OpenIDConnect
My starting point to getting that 'authorizationCode' is a Google Auth URL that effectively loads the user consent flow in a browser. eg https://accounts.google.com/o/oauth2/v2/auth?response_type=code&client_id=12345&redirect_uri=https%3A%2F%2Fblah.com&scope=https%3A%2F%2Fwww.googleapis.com&access_type=offline&prompt=consent
I would like to see how people are solving this without manual intervention. Reviewing 'OAuth Consent Screen' settings at console.developers.google.com doesn't elude to options to bypass the necessity to drive this UI to get an 'authorizationCode'. I have found that you can set prompt=none but seems to only be an option if the user has previously authenticated through the user consent flow and doesn't require a new authorizationCode.
Appreciate any advice or suggestions. Ideally if you could put this security flow into 'test mode' to enable automation akin to how you can put Re-Captcha into 'test mode' to avoid the challenge tiles.