Commit Graph
35 Commits
Author SHA1 Message Date
sugoidogo 868b57cd11 trim scope string 2025-02-08 18:29:56 +00:00
sugoidogo e2adb054a1 include clientId in request 2025-02-02 18:08:48 +00:00
sugoidogo 37e7e40ddf throw text error messages 2025-02-02 18:08:32 +00:00
sugoidogo 6b788fa16c fix infinite promise 2025-01-29 20:29:13 +00:00
sugoidogo 9e5ab46353 don't consume response before returning 2025-01-29 17:53:50 +00:00
sugoidogo 9b149f326d fix usage of global fetch 2025-01-29 17:43:14 +00:00
sugoidogo ca245bfedb fix reading properties of undefined 2025-01-29 17:42:56 +00:00
sugoidogo a430aa0eab fix usage of hasScopes 2025-01-29 06:39:13 +00:00
sugoidogo ca977afc23 Don't redirect on twurple token request 2025-01-29 06:27:49 +00:00
sugoidogo a8782db14c fix context for setToken 2025-01-27 15:24:27 +00:00
sugoidogo 51ab97c156 defeat racism (prevent race condition on simultaneous inital token requests) 2025-01-27 15:21:16 +00:00
sugoidogo 3765ca1bb7 fix no scope token request 2025-01-27 04:44:35 +00:00
sugoidogo e7ba689f14 also use cached response for server errors 2025-01-26 16:50:37 +00:00
sugoidogo 32e8cc8054 support fetch wrapper chaining 2025-01-26 16:31:18 +00:00
sugoidogo 37250b3925 WebStorage re-write using native Cache 2025-01-26 16:11:39 +00:00
sugoidogo f10da029ba fix legacy auth_headers 2025-01-26 14:40:47 +00:00
sugoidogo 4d25d9b5d3 fix incorrect variable name 2025-01-26 13:25:16 +00:00
sugoidogo 0c20ff2365 fix scope passing 2025-01-26 13:24:33 +00:00
sugoidogo 951eb7ea5a fix no scope handling 2025-01-26 13:24:21 +00:00
sugoidogo 9c1eaf3ff7 a null token has no scopes 2025-01-26 12:51:37 +00:00
sugoidogo bb1c1944ca formatting 2025-01-26 12:13:03 +00:00
sugoidogo fca32bf7f2 empty promise to keep client from busying browser during redirect 2025-01-26 12:11:22 +00:00
sugoidogo efefe08582 better url parsing 2025-01-26 12:05:14 +00:00
sugoidogo d9579b5398 fix reversed variables 2025-01-26 11:51:19 +00:00
sugoidogo 1ad11bfc09 don't need this anymore 2025-01-26 11:48:09 +00:00
sugoidogo 37c8573832 use TwitchAuth 2025-01-26 11:47:43 +00:00
sugoidogo 0d278e19ad throw actuall error objects 2025-01-26 11:47:05 +00:00
sugoidogo 24ff5163d7 actually store token in memory 2025-01-26 11:02:33 +00:00
sugoidogo 4724c3741d abandon token storage, only keep tokens in memory (more secure) 2025-01-26 10:53:53 +00:00
sugoidogo 62cd53b775 simplify getTwrplePoxy syntax 2025-01-26 09:20:14 +00:00
sugoidogo 63558e9421 fix again 2025-01-18 12:54:55 +00:00
sugoidogo bb414c7de6 fallback to any user token instead of app token 2025-01-18 12:38:33 +00:00
sugoidogo d3f744ae9c remove sentry 2025-01-18 11:57:22 +00:00
sugoidogo e5f175c10a update localforage url 2025-01-18 09:24:29 +00:00
sugoidogo 1feefe0397 initial commit 2025-01-18 07:47:59 +00:00