Comments (3)
I am (currently) just using it for my own purposes. I followed your recommendation with the implicit flow and it worked. Thanks a lot.
from tesjs.
Happy to help!
from tesjs.
Hi!
The way Twitch's EventSub system works is that authorization is handled internally and tied to a client id. So, you'll have to authorize your client to have access to that scope. If you are unfamiliar with this, you can check out the doc here.
If you are using TESjs for personal use it should be as simple as using the OAuth Implicit Grant Flow. Just build yourself a URL with your client id and localhost as your redirect uri (make sure it is registered on dev.twitch.tv for your application's OAuth Redirect URLs). If you are creating a service that other people can use, you'll have to set up your authentication similarly for that as well, but with some sort of user-facing website (using whatever authorization flow makes sense for your app). Once your app has been authenticated with the correct scopes for whatever you need, it'll be good to go!
Hopefully this helps!
from tesjs.
Related Issues (20)
- [QUESTION]Client-ID HOT 1
- [RFE] When we automatically issue tokens, we want to choose a permission. HOT 1
- [QUESTION]Reasons to search for an appetizer for receiving a 409 error HOT 3
- [BUG] TES will allow incorrect configuration HOT 2
- [RFE] Switch to use fetch
- [RFE] Allow External Auth Handling
- [BUG] can't subscribe to raid event HOT 6
- [CHORE] Switch to Async/Await Syntax HOT 1
- [QUESTION] error when i subscribe to any event HOT 7
- [RFE] Improve Error Handling For Subscribe
- Refactor whserver
- [RFE] Switch lib to ESM HOT 1
- Update Express to 4.18.2 HOT 1
- [RFE] Add Version to `subscribe` HOT 1
- [RFE] Improve docs HOT 2
- [Chore] Update WebSocket URL
- Allow TES config to allow url for websocket connect to Twitch Mock CLI HOT 3
- [CHORE] Update Subscription Quotas Per Connection
- [BUG] TypeError: this.refreshToken is not a function HOT 3
- [BUG] Channel receive redeem problem HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from tesjs.