# Oauth2Callback

Step 1: Copy config.oauth2-sample.php to config.oauth2.php
Step 2: Create project in https://console.cloud.google.com, enable Oauth2 Web Client and update details in config.oauth2.php
Step 3: Setup Imap Proxy Service (https://code.vtiger.com/vtiger/vtigercrm/-/issues/1914) and update details under Proxies in config.oauth2.php

Step 4: You can now configure (Gmail OAuth) provider in OutgoingServer or MailManager.
