I am using OAuth2 with PKCE tokens for authentication with the Twitter API v2. Works fine, and when I go to another device and try to authenticate (same Developer App, same Twitter account), it also works and I can access Twitter API from the other device. However, apparently this immediately renders the credentials from the first device invalid: cannot fetch token: 400 Bad Request.

I can go back and forth but I can’t use both simultaneously.

So I seem to only be able to use the Twitter API from one device at a time. How can I successfully authenticate users across multiple devices without invalidating previous devices?

Has no one else encountered this? I feel like it’s not too unusual to access Twitter from multiple devices, so surely there’s a way to authenticate on another device without voiding the auth on the previous device?