Authorized stuck, please help

When I switch from github pages to vercel deployment, the netlify Authorized verification window cannot be closed and I have not logged in to github successfully

My domain name is muzzik.cc
github repo: 1226085293/1226085293.github.io

I have tried the following solutions

  • Relink repository
  • Disable/enable Identity
  • Disable/enable git gateway
  • Reset domain name
  • Regenerate github OAuth application key

But it still stuck in Authorized window

When I use localhost to test (using Netlify CMS Oauth application), I can also log in successfully. What is the problem? It has troubled me for a day. Please help. Thank you.

@muzzik I may be misinterpreting your issue, but if it’s Netlify Identity & Netlify CMS related, then it’s possible that Netlify won’t provide support, since both are deprecated.

Identity (2025-02)
https://www.netlify.com/changelog/deprecation-netlify-identity/

CMS (2023-02)
https://www.netlify.com/blog/netlify-cms-to-become-decap-cms/

Oh, my mistake. I was actually using OAuth. I tried to delete Netlify Identity before, and the authorization page 404. So I thought Identity was affecting OAuth. I deleted it again, refreshed the page, and it worked.

But the problem is still there.

In addition, when I use github pages, Authorized works fine.

This is my Netlify and cloudflare domain configuration. I added vercel’s DNS record using cloudflare.

Complete list of Netlify Authorization network requests

I checked it from the source code and found that the host is www.muzzik.cc and the if statement is muzzik.cc, which causes the error

Set the primary domain name to solve

@muzzik Great job working through it and self solving.