Testing Gmail Integration on myiq.today

This guide explains how to test the Gmail OAuth integration on the myiq.today domain.

Prerequisites

  1. Ensure the application is properly deployed to myiq.today
  2. Make sure all Google OAuth environment variables are configured:
    • GOOGLE_CLIENT_ID
    • GOOGLE_CLIENT_SECRET
    • GOOGLE_REDIRECT_URI (must point to myiq.today)

Step-by-Step Testing Guide

1
Verify OAuth Configuration

First, verify that the OAuth configuration is properly set up for myiq.today.

  • Visit https://myiq.today/oauth-check
  • This page will show if your OAuth configuration is properly set up for myiq.today
  • Make sure the redirect URI contains "myiq.today" in the domain part
2
Log in to the Application

You need to be logged in to connect your Gmail account.

  • Go to https://myiq.today
  • If not already logged in, you'll be redirected to the login page
  • Log in with your credentials
3
Access Email Connection Page

Navigate to the email connection page where you can connect your accounts.

4
Connect Gmail

Initiate the OAuth flow to connect your Gmail account.

  • Click "Connect Gmail" button on the Gmail card
  • You should be redirected to Google's OAuth consent screen
  • Select your Gmail account and grant the requested permissions
  • After authorization, you should be redirected back to myiq.today
5
Verify Connection

Check if your Gmail account was successfully connected.

  • If successful, the Gmail card should show "Connected" status
  • Your Gmail email address and name should be displayed
  • You can disconnect the account by clicking "Disconnect" if needed

Troubleshooting

If the OAuth flow fails, check the following common issues:

Redirect URI Issues

The most common problem is that GOOGLE_REDIRECT_URI doesn't match the domain.

Credentials Issues

Make sure the Google OAuth credentials are correctly configured.

Browser Issues

Sometimes browser-related problems can cause the OAuth flow to fail.

Additional Resources

Resource Description
Google Cloud Console Manage your Google OAuth credentials and API settings
OAuth 2.0 Documentation Google's official documentation for OAuth 2.0
OAuth Configuration Check Tool to verify your OAuth configuration on Unity