Gmail with OAuth2
To connect to a Gmail address, you must first set up OAuth 2.0 credentials.
Log in to your Google account
Visit the following link in your Google account:
If this is the first time you are here, do the following:
Accept the Terms of Service:

Agree to the Terms of Service, then click Agree and continue.
If you have already agreed to the Terms of Service, you can select one of your existing projects or create a new one:
Navigate to the OAuth consent screen to configure it, if you do not have one already:

Click Get Started
In App Information, enter the application name (for example, “Email This Issue”) and select a support email

In Audience, select whether the app is Internal or External, according to your requirements:

Enter contact information
Agree to the User Data Policy

Click create
Go to Branding and add meta-inf.hu as an authorized domain:

Additional Step for External applications:
Go to the Audience menu and either add the authorizing user as a Test user or publish the application; otherwise, you will not be able to authenticate the connection.
Go to the Clients menu and click Create Client. If you already had a Consent screen, go to Credentials, click Create credentials, and choose OAuth client ID.

Select Web application as the application type, and give it a name

Open Email This Issue and on the Admin tab go to OAuth2 credentials. Click to Create new credentials, select Google as the service provider, then copy and paste the Redirect URI from the bottom to the Authorized redirect URI in Google:

Click Create in Google to create the client.
Copy the Client ID and Client secret to the appropriate fields in Email This Issue:

In Email This Issue, add the following endpoints:
Auth Endpoint URL: https://accounts.google.com/o/oauth2/auth
Token Endpoint URL: https://oauth2.googleapis.com/token

Click on Save, and you are ready to use the created credentials in your incoming or outgoing connection.
Last updated
Was this helpful?