-
Notifications
You must be signed in to change notification settings - Fork 6
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
Invalid CSRF token: Too confusing for a User. #29
Comments
|
IDPLAT-3002 |
|
Got a user complaint about this. +1 |
|
I also received a few user complaints about this. |
|
Hi everyone- thanks for the notes here. If anyone is able to reproduce this consistently, any steps you can provide would help with resolution. Team is still investigating, however. |
|
Firefox users report it often. I don't have repro steps other than to be using firefox. But whenver your code returns this error it needs to do something more useful than present this to the user |
|
This happens for me every time when trying to use Twitch SSO on Firefox. I do not have issues when using other SSO+MFA services like Google. The steps I take are:
My workaround has been
|
|
I was having this same issue in Brave and Chrome browser. Tried logging out and back in multiple times, tried clearing cache and cookies multiple times in both browsers. Was not able to solve this issue until I logged into twitch via mobile (brave browser) then clicked authorize and it worked flawlessly. Not able to recreate the issue since making the connection but this is what solved the issue for me. |
|
This is completely preventing me from implementing Twitch connections to my website! |
|
I am having the same issue with Google Chrome. I have read a dozen other threads, logged out and back in, cleared cookies, cleared site data, and every other suggestion I've found but it's still the same. No matter what I try to connect to Twitch its the same error: {
status: 401,
message: "invalid csrf token"
}I do not have ad blockers or use a VPN and this is a problem I have only encountered with Twitch. |
|
Here's what actually worked for me:
I would suggest either disabling this feature in the desktop client until it has been resolved or including a message that this may not work from desktop and to try from the browser. |
TwitchDev isn't support for Streamlabs Desktop, so you'll have to talk to them about disabling it in their desktop client |
Brief description
Occasionally, when you perform step 1 of oAuth (redirect user to Twitch to allow/deny an account link)
A JSON blob is returned in the body:
This is shown to a end user and the end user has no idea what to do.
How to reproduce
Keep trying to link accounts till it happens. Usually happens more often with Firefox users.
Expected behavior
Display a more useful error page, or redirect to Twitch login page, which you do get sometimes (even when logged in on Twitch)
The text was updated successfully, but these errors were encountered: