Published: July 3, 2025
3
0
2

Ok im seriously clueless on this error im getting for my X oauth. Upon calling https://api.x.com/2/oauth2/tok... with { code, redirect_uri, grant_type: "authorization_code", code_verifier } I'm retrieving a response of status 403 with body "IPv6", no further details. Before today, it had worked fine. For some apps it seemed working, yesterday I thought I had fixed it but then today, it happens all over again. Am I being rate limited for the /token endpoint? (Free plan) Almost all of my sites with X login were affected. @XDevelopers not responding. What do I do? This error message is very unhelpful.

reproduce it with http://x.simplerauth.com (https://github.com/janwilmake/... I guess it's just me though, but could be @CloudflareDev issue as well, although X SHOULD support ipv6!

Update. - held my implementation against the docs (see docs .md) and found that it correctly implements it (but updated some minor things) - added support for testing locally, and found that it works fine when doing the request from localhost. this means the issue seems Cloudflare related! @CloudflareDev could you assist me?

Update: opened a ticket in the X official developer forum: https://devcommunity.x.com/t/g...

@BraydenWilmoth I need your (or someones) help! Is cloudflare making requests from ipv6 range? is this configurable?

I can't turn off ipv6 compat at zone -> network settings. this may be the reason it breaks though, I should be able to configure whether my request goes through ipv4 or ipv6!

Image in tweet by Jan Wilmake

Share this thread

Read on Twitter

View original thread

Navigate thread

1/6