Menu

Post image 1
Post image 2
Post image 3
Post image 4
Post image 5
1 / 5
0

Fixing Google OAuth Domain Verification

DEV Community·Nkwenui Nadine·about 1 month ago
#2YNYJZ67
Reading 0:00
15s threshold

Nkwenui Nadine

Fixing Google OAuth Domain Verification (A Mistake That Cost Me Hours)

I recently ran into an issue while verifying my app for Google OAuth.

Problem:
I added the google-site-verification meta tag, deployed my app, but Google Search Console kept failing the verification.

What I discovered:
My app wasn’t using the HTML file I edited. The production HTML was being rendered from a different source (server-side template).

Fix:
I added the verification meta tag to the correct template file (in my case, a Blade file), redeployed, and it worked instantly.

Lesson learned:
Always confirm that your changes actually appear in the live page source—not just in your code.

This saved me from overthinking DNS, analytics, and other unrelated fixes.

Hope this helps someone avoid the same mistake

webdev #laravel #oauth #debugging #buildinpublic

Read More