Problems granting permission with google - hosting

I'm trying to setup the plugin Post SMTP from wordpress.
I have a G Suite account and everything is ok, until the last step where I need to grant persmission to send the emails. I go to the page where google asks if I'm sure with the page accessing to my emails.
After I click to allow, I've got a 403 error.
Please help

The answer may not be exact for the question asked but I just wanted to send mails from my wordpress website and it worked by adding your From mail address in cPanel Email settings.
Just search Registered Mail IDs in cPanel and add your email addresses in there you want to send mail from.
Most of the post says to modify mod_security or .htaccess file to get your work done but I found such a simple solution, worth a try.

It was the scope at the end of the url that google returns for granting permision, after some research I find my server has a module that doesn't allow this scopes, so you need to turn it off just to do this.

Related

No access to partner - Information could not be retrieved

Here is my full error:
Information could not be retrieved. Please contact iandevice to verify that your account has been properly set up. You may need to add the developer email address as a home member in the Google Home app settings.
I have seen several similar questions, but their solution did not help me. I've followed this link to setup: https://developers.google.com/nest/device-access/get-started but got the error when authorizing my account.
My email address is a personal gmail account. I have checked that my email address in the device access console (Top Right) is the same account that is linked to my nest. I have tried several solutions like re-creating the whole GCM project, credentials, etc, or trying with another gmail account.
I have also ensured that my account is added in my Google Home App, tried adding another account and trying but it's the same. Completely lost here after trying everything, does anyone have a solution to this? Thank you.
Just to add on, I have also checked in the OAuth consent screen that I have the same email address listed under email and developer's email. Also tried deleting the whole home and creating a new one, and link my nest to that h ome

on click .. Suspicious link error in gmail(laravel)

When a user signs up on our website, they get an email verification link, but whenever they try to click on any link in that mail, they get the alert error message:
Suspicious link
This link leads to an untrusted site. Are you sure you want to
proceed?
We are using the sendgrid mailer system and we are certified to https.
Where is the problem coming from?
This is mostly in newsletters(Mailers), we need to verify the domain in Google
For authenticating domain using the steps below:
Go to postmaster.google.com.
On the bottom-right, click the + button.
In the box that pops up, enter your authentication domain.
Next, prove that you own the domain by adding a DNS TXT or a DNS CNAME record.
For reference: https://productforums.google.com/forum/#!topic/apps/xSV6J-Nmkmc;context-place=forum/apps
Also it happens when we have https(ssl) but we are using the link http
We were recently having this issue in our account verification emails as well. Verifying our domain through DNS records as recommended by Google was not enough.
The ultimate solution for us was ensuring that every link has an alt tag with descriptive text.
Verify!
Please check once for a DNS record. You can check it from below url
https://mxtoolbox.com/SuperTool.aspx
And also check for the DMARK record which is found in your mx records or not.
Go to sendgrid.com > Settings > Sender Authentication and configure DNS

OAuth 2.0 for Google API requests in PHP Webhook

I'm faced with a difficult scenario regarding OAuth 2 authentication and Google's Calendar API.
I am attempting to write a PHP script which processes my personal calendar data after being triggered by a POST call from an external source. However, I am having trouble granting the script access to my account. Since the script runs entirely in the background, there is never an opportunity for me to enter the authorization code which is required for PHP command line tools making Google API requests.
I have looked into Service Accounts, which grant access to personal data without individual approval, but unfortunately this is only available to G Suite users, which I am not.
I have also attempted to run my script manually, enter the code to authenticate, then run it from my external source. This doesn't work either, because the authorization codes are apparently only good for the same mode of access where it was entered, and the response to the external source still shows as asking for the code.
Lastly, please note that responding with the authorization code from the external source is not an option. Which I can activate the trigger, I cannot change how it works or the data it passes.
TL;DR: How do I grant a PHP script (which runs only in the background) access to my personal Google Calendar data?
Thanks in advance!
Articulating this question actually helped me better formulate my Google searches, and I found the answer!
I'll leave this question/answer here so somebody can hopefully benefit from it -
Turns out that the Service Account is the way to go, but instead of trying to access your account's data via the service account, you need to share the calendars in question with the generated service account email address. Essentially, this makes the service account a "co-owner" of the calendar. Then, you simply make the request to the service account's own information.
Hope this helps!

Need to know what some google permissions mean

I was a victim of yesterday's google doc phishing attack. The email I received had a link and when clicked it asked for certain permissions. I gave access at that time but after few minutes I removed the permission from my google security page. However I am not sure what kind of permissions were given to the hacker. If I click on the link now the google page shows this message.
Error: disabled_client
The OAuth client was disabled.
Request Details
client_id=946634442539-bpj9bmemdvoedu8d3or6c69am3mi71dh.apps.googleusercontent.com
scope=https://mail.google.com/ https://www.googleapis.com/auth/contacts
immediate=false
include_granted_scopes=true
response_type=token
redirect_uri=https://googledocs.gdocs.pro/g.php
customparam=customparam
That’s all we know.
What kind of permissions were given to the hacker based on the above information? I am more interested in whether the hacker had access to my emails or not.
If they were able to gain access to my emails, is there a way to check whether or not they were able to successfully download my emails? I had removed the permission few minutes after giving access.
The hacker had access to your contacts and your mail account, as visible in this line:
scope=https://mail.google.com/
https://www.googleapis.com/auth/contacts

Giving someone access to an addon website on my server

I need to give someone access to a website I made for a friend but only want them to have access to the addon domain folder. Is this possible (with JustHost)?
Figured it out. In case anyone was wondering, in the control panel on JustHost there is an FTP Accounts section where you can give access to certain addon domains such as public_html/domainname.com with its own login.

Resources