netlify-cms-github-oauth-provider icon indicating copy to clipboard operation
netlify-cms-github-oauth-provider copied to clipboard

Invalid state key

Open Intelligence247 opened this issue 2 years ago • 3 comments

Intelligence247 avatar Nov 24 '22 09:11 Intelligence247

Any further info?

vencax avatar Feb 11 '23 21:02 vencax

For anyone else landing here and being extremely disappointed with the lack of info, know that I just had stumbled in this very same error and it was due to having the wrong "Authorization callback URL" in GitHub's OAuth Application form.

Basically, I had it set to Netlify's API endpoint, then changed it to my custom URL, forgot to save it and clicked the "Generate a new client secret" button, which does a full page refresh, hence the new custom URL being lost.

pmpinto avatar Feb 28 '23 14:02 pmpinto

Hi, I cannot understand. What exactly you would add to README?

vencax avatar Aug 05 '23 07:08 vencax