Explore more
Connections
Connect to Google services using a custom OAuth client
11min
this article is currently in progress we are actively working to improve the writing style and visual elements, while making sure it reflects the most up to date information this article will show you how to create your own project in google cloud platform and a custom oauth client this is useful for connecting restricted google services, like google drive or gmail , to make to connect, you must have a google account you can create an account at accounts google com/signin https //accounts google com/signin the following procedure is intended for personal use ( @gmail and @googlemail com users) internal use (google workspace users that prefer to use a custom oauth client) configure a google cloud platform project there are five steps to configure a google cloud platform project connect to google services using a custom oauth client docid\ bakdsr0ivotpkjwe2lfyz connect to google services using a custom oauth client docid\ bakdsr0ivotpkjwe2lfyz connect to google services using a custom oauth client docid\ bakdsr0ivotpkjwe2lfyz create your client credentials connect to make with custom credentials create a google cloud platform project log in to the google cloud platform https //console cloud google com/ using your google credentials on the welcome page, click create or select a project > new project enter a project name and select the location for your project click create in the top menu, check if your new project is selected in the select a project dropdown if not, select the project you just created to create a new project or work in the existing one, you need to have the serviceusage services enable permission if you don’t have this permission, ask the google cloud platform project owner or project iam admin to grant it to you enable apis open the left navigation menu and go to apis & services > library search for the apis you need for your project for information regarding specific apis, refer to the make help center https //apps make com/ for the app you are using click the relevant api, then click enable configure your oauth consent screen in the left sidebar, click google auth platform click get started in the overview section, under app information , enter make as the app name and provide your gmail address click next under audience , select external for more information regarding user types, refer to google's exceptions to verification requirements documentation https //support google com/cloud/answer/9110914#exceptions ver reqts under contact information , enter your gmail address under finish , agree to the google user data policy click continue > create in the branding section, under authorized domains , add make com and integromat com click save optional in the audience section, add your gmail address on the test users page, then click save and continue if you want the project to remain in the testing publishing status in the data access section, click add or remove scopes , add any desired scopes, and click update here are some examples of scopes you may need for gmail and google drive for additional scopes, refer to the make help center https //apps make com/ for the app you are using click save https //mail google com https //www googleapis com/auth/userinfo email https //www googleapis com/auth/drive https //www googleapis com/auth/drive readonly publishing status testing if you keep your project in the testing status, you will be required to reauthorize your connection in make every week to avoid weekly reauthorization, update the project status to in production in production if you update your project to the in production status, you will not be required to reauthorize the connection weekly to update your project's status, go to the google auth platform , the audience section, and click publish app if you see the notice needs verification , you can choose whether to go through the google verification process https //support google com/cloud/answer/13463073?authuser=1\&visit id=638718595933013017 1855034908\&rd=1 for the app or to connect to your unverified app currently connecting to unverified apps works in make, but we cannot guarantee the google will allow connections to unverified apps for an indefinite period for more information regarding the publishing status, refer to the publishing status section of google's setting up your oauth consent screen help https //support google com/cloud/answer/10311615#zippy= create your client credentials in google auth platform, click clients click + create client in the application type dropdown, select web application update the name of your oauth client this will help you identify it in the console in the authorized redirect uris section, click + add uri and enter the redirect uri here is a redirect uri you need for gmail and google drive for additional redirect uris, refer to the make help center https //apps make com/ for the app you are using click create click the oauth 2 0 client you created, copy your client id and client secret values, and store them in a safe place you will use these values in the client id and client secret fields in make establish the connection in make to establish the connection in make log in to your make account, add a google app module to your make, and click create a connection optional in the connection name field, enter a name for the connection switch on the show advanced settings toggle and enter your google cloud platform project client credentials click sign in with google if prompted, authenticate your account and confirm access you have successfully established the connection you can now edit your make and add more modules common problems 100 logins limit per day has been reached this happens rarely, but when it does, we recommend creating another oauth client \[403] access not configured if this error message appears, you need to enable the corresponding api in your google cloud platform authorization error error 403 access denied google has added the required settings for the consent screen you'll need to add the email address associated with the google account you want to connect with make as a test user sign in to the google cloud platform https //console developers google com/ using your google credentials go to apis & services > oauth consent screen in the test users section, click add users to add a test user enter the email address associated with the google account you want to connect with make, and click save now, go to make, and connect to the desired google service failed to verify connection 'my google restricted connection' status code error 400 your connection has expired and is no longer valid you need to reauthorize the connection this error affects non google workspace accounts for more details please refer to the google oauth documentation https //developers google com/identity/protocols/oauth2#expiration due to google's updated security policy, unpublished apps can only have a 7 day authorization period after the oauth security token expires, the connection is no longer authorized and any module relying on it will fail solutions option 1 to avoid weekly reauthorization , you can update the publishing status of your project if you update your project to the in production status, you will not be required to reauthorize the connection weekly change the status of your project by following these steps log in to the google cloud console navigate to the oauth consent screen click the publish app button next to your app if you see the notice needs verification , you can choose whether to go through the google verification process https //support google com/cloud/answer/13463073?visit id=638357423877979226 2405331664\&rd=1#exceptions ver reqts for the app or to connect to your unverified app currently connecting to unverified apps works in make, but we cannot guarantee the google will allow connections to unverified apps for an indefinite period for more information regarding publishing statuses, refer to the publishing status section of google's setting up your oauth consent screen help https //support google com/cloud/answer/10311615#zippy= and our community page https //community make com/t/gmail google drive verification issues error 400 how to solve/27432 option 2 if you keep your project in the testing status, you will be required to reauthorize your connection in make every week reauthorize your google connection by following these steps log in to make go to connections find your google connection and click reauthorize button