Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Authentication Error: Invalid state key #27

Open
MatSemCVMaker opened this issue Apr 7, 2021 · 14 comments
Open

Authentication Error: Invalid state key #27

MatSemCVMaker opened this issue Apr 7, 2021 · 14 comments

Comments

@MatSemCVMaker
Copy link

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
Copy link

One1L commented Jul 8, 2021

I have same problem

@gergiu
Copy link

gergiu commented Mar 6, 2022

same to me

@couldbewoese
Copy link

Same error. Were you able to resove?

@vencax
Copy link
Owner

vencax commented Feb 11, 2023

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

@Odipainter01
Copy link

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

@theo-fride
Copy link

hello
same problem too
keep saying invalid key state

@Joining8988
Copy link

same problem

@vencax
Copy link
Owner

vencax commented Jul 5, 2023

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
Copy link

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

@ConnectPrakash
Copy link

I have a same problem

@SadamHussain22
Copy link

same problem

@Tofu-Xx
Copy link

Tofu-Xx commented Aug 13, 2024

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

@maxu0025
Copy link

maxu0025 commented Oct 1, 2024

AUTHENTICATING FAILED ...
error showing : invalid state key
tell me how to resolve it

@safiaalhosni
Copy link

same problem give me the solution

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests