netlify-cms-cloudflare-pages icon indicating copy to clipboard operation
netlify-cms-cloudflare-pages copied to clipboard

wrong redirect

Open oliverbarlucchi opened this issue 8 months ago • 3 comments

when clicking on login with github, the redirect url is built incorrectly

https://example.pages.dev/admin/example.pages.dev/api/auth?provider=github&site_id=example.pages.dev&scope=repo

instead of

https://example.pages.dev/api/auth?provider=github&site_id=example.pages.dev&scope=repo

oliverbarlucchi avatar Mar 08 '25 04:03 oliverbarlucchi

also the callback authorization page is blank and nothing is accessible. cms is not available from /admin/ url either. still asks for login

oliverbarlucchi avatar Mar 08 '25 05:03 oliverbarlucchi

I have similar issue. @i40west any idea how to solve it?

tenhobi avatar Mar 23 '25 10:03 tenhobi

I am not having this issue, but I hope the following may help. I had a similar, unrelated issue with Cloudflare Pages and hugo. The issue was that my hugo build command was using a url that did not include https:// (example.com vs https://example.com). Are you able to manually create and browse to any posts without using the CMS?

lukebtaylor avatar Jul 17 '25 00:07 lukebtaylor