Twitter / X login Oauth 1.0a - WebGL

Hi there,

Has anyone handled logging in to twitter with WebGL?
There are a few packages out there but so far none of them is really satisfying.
Can’t use firebase as this is a requirement from my customer.
I need to get access to the users Access token and Secret.

Have been stuck on this for a while.
Much appreciated