vencax / netlify-cms-github-oauth-provider

netlify oauth github client sending token in form as netlify service itself
205 stars 124 forks source link

Authentication Error: Invalid state key #27

Open MatSemCVMaker opened 3 years ago

MatSemCVMaker commented 3 years ago

I'm trying to set a netlify oauth by running your server. I've created the oauth in github, and set credential and secret on the server, with localhost:8080 as origin. I then added the server as the backend of my cms configuration on the frontend app. I can then login through github from the admin panel, but the callback just show an authentication error due to the following error: invalid state key. I can't understand exactly what's the error and if i'm missing something

One1L commented 3 years ago

I have same problem

gergiu commented 2 years ago

same to me

couldbewoese commented 2 years ago

Same error. Were you able to resove?

vencax commented 1 year ago

Are you trying to call OAuth from localhost without tunnel from public IP?

Odipainter01 commented 1 year ago

can't sign in keeps saying Authentication error invalid state key

theo-fride commented 1 year ago

hello same problem too keep saying invalid key state

Joining8988 commented 1 year ago

same problem

vencax commented 1 year ago

Hi all, I am missing information about environment setup you have. The crucial is whether you run this provider on your localhost or public IP. on localhost it will never functioning because after login process on github side, github call the provider from internet side. And localhost is not obviously visible from internet.

yashgupta5532 commented 7 months ago

yrr koi toh bata do 2 din se phasa hu ??

ConnectPrakash commented 6 months ago

I have a same problem

SadamHussain22 commented 4 months ago

same problem

Tofu-Xx commented 1 month ago

Authentication Error

Authenticating failed due to the following error: Invalid state key

Why is this the only netlify I've been working on for days