Skip to content
This repository was archived by the owner on Jul 3, 2026. It is now read-only.
Discussion options

You must be logged in to vote

Rehike doesn't use OAuth2 at all. To my knowledge, that is used by the mobile apps, TV apps, and Data API. We use Google's SAPISIDHASH authentication system, same as regular web YouTube.

Since the Rehike server intercepts all YouTube requests, it can just access all cookies that you have stored for the domain. When we make normal requests (non-InnerTube), then we can pass all the user's cookies to the YouTube request and the user will naturally be logged in. The same principle applies to InnerTube requests, but InnerTube requires an Authorization header with a SAPISIDHASH. Once that's supplied, all requests act on behalf of the user account just like Polymer, so we just make analogous req…

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@Wert1209yt
Comment options

Answer selected by Wert1209yt
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants