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.
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.