Coder Social home page Coder Social logo

Comments (1)

bastimeyer avatar bastimeyer commented on May 22, 2024

It's because twitch deletes the OAuth token of your old login as soon as you login on a different machine, so the old session "expires".
There's not much I can do, that's simply how the oauth system works... 😕

If this is super annoying for you, you could copy over the oauth token of the logged in machine to the second one.
Start the application with the --remote-debugging-port=8888 parameter and open http://localhost:8888 in your browser. Then run the following line to read your access token:

JSON.parse( localStorage.getItem( "app" ) ).auth.records[1].access_token

On the other machine, do the same and run the following line to set the access token:

var access_token = "YOUR ACCESS TOKEN";
var obj = JSON.parse( localStorage.getItem( "app" ) );
obj.auth.records[1].access_token = access_token;
localStorage.setItem( "app", JSON.stringify( obj ) );

Then restart the app, so it can do the auto-login procedure...

from streamlink-twitch-gui.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.