[PR #371] [MERGED] implement oauth authentication (#10) #604

Closed
opened 2026-02-27 23:01:40 +03:00 by kerem · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/sigma67/ytmusicapi/pull/371
Author: @sigma67
Created: 4/4/2023
Status: Merged
Merged: 4/5/2023
Merged by: @sigma67

Base: masterHead: 10-proper-authentication


📝 Commits (10+)

📊 Changes

26 files changed (+392 additions, -189 deletions)

View changed files

📝 .github/workflows/coverage.yml (+11 -6)
📝 .github/workflows/pythonpublish.yml (+2 -3)
📝 .gitignore (+1 -1)
📝 README.rst (+1 -1)
📝 docs/source/conf.py (+0 -4)
📝 docs/source/faq.rst (+1 -1)
📝 docs/source/index.rst (+2 -7)
📝 docs/source/reference.rst (+4 -4)
📝 docs/source/setup/browser.rst (+19 -23)
📝 docs/source/setup/headers_auth.json.example (+0 -0)
docs/source/setup/index.rst (+24 -0)
docs/source/setup/oauth.rst (+15 -0)
📝 docs/source/usage.rst (+3 -3)
📝 pyproject.toml (+7 -1)
📝 tests/test.py (+63 -39)
📝 ytmusicapi/__init__.py (+3 -1)
ytmusicapi/auth/__init__.py (+0 -0)
ytmusicapi/auth/browser.py (+54 -0)
ytmusicapi/auth/headers.py (+32 -0)
ytmusicapi/auth/oauth.py (+71 -0)

...and 6 more files

📄 Description

Here it is. Please test! Looking forward to feedback.

Thanks to @vixalien for the TypeScript POC over at https://github.com/vixalien/muse.


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/sigma67/ytmusicapi/pull/371 **Author:** [@sigma67](https://github.com/sigma67) **Created:** 4/4/2023 **Status:** ✅ Merged **Merged:** 4/5/2023 **Merged by:** [@sigma67](https://github.com/sigma67) **Base:** `master` ← **Head:** `10-proper-authentication` --- ### 📝 Commits (10+) - [`0520f96`](https://github.com/sigma67/ytmusicapi/commit/0520f96e166809b3485057f462d420c7b2386556) implement oauth authentication (#10) - [`d3ee432`](https://github.com/sigma67/ytmusicapi/commit/d3ee432cf5cae16aa712051a06a27facd05687e0) CI: add OAUTH_JSON secret - [`232e905`](https://github.com/sigma67/ytmusicapi/commit/232e905de43258504d30ca1423b1f90d97f2cf06) Update coverage.yml - [`611a92a`](https://github.com/sigma67/ytmusicapi/commit/611a92a3f0cc65d95bf6a7c8b2953e32e74b0779) Update coverage.yml - [`10e9477`](https://github.com/sigma67/ytmusicapi/commit/10e9477be1135ca3043ce06e400265927e12fe5c) Update coverage.yml - [`df2b5da`](https://github.com/sigma67/ytmusicapi/commit/df2b5da2d8adf39e14f182e0c515741ac2086784) update pythonpublish.yml - [`e19c160`](https://github.com/sigma67/ytmusicapi/commit/e19c16019f5d3a3f0dd74a8ff57b09bd3c687567) streamline oauth code and fix refresh_token bug - [`99ed2c2`](https://github.com/sigma67/ytmusicapi/commit/99ed2c223fc76c7aa3f1406baf4714fd699636ff) use oauth for more tests - [`1285944`](https://github.com/sigma67/ytmusicapi/commit/1285944ac4c27db4840c7a3860486890fa2c45e8) add cli - [`08100dc`](https://github.com/sigma67/ytmusicapi/commit/08100dcd3004e8feeb0e56ee5b64b451e3add6c9) update docs ### 📊 Changes **26 files changed** (+392 additions, -189 deletions) <details> <summary>View changed files</summary> 📝 `.github/workflows/coverage.yml` (+11 -6) 📝 `.github/workflows/pythonpublish.yml` (+2 -3) 📝 `.gitignore` (+1 -1) 📝 `README.rst` (+1 -1) 📝 `docs/source/conf.py` (+0 -4) 📝 `docs/source/faq.rst` (+1 -1) 📝 `docs/source/index.rst` (+2 -7) 📝 `docs/source/reference.rst` (+4 -4) 📝 `docs/source/setup/browser.rst` (+19 -23) 📝 `docs/source/setup/headers_auth.json.example` (+0 -0) ➕ `docs/source/setup/index.rst` (+24 -0) ➕ `docs/source/setup/oauth.rst` (+15 -0) 📝 `docs/source/usage.rst` (+3 -3) 📝 `pyproject.toml` (+7 -1) 📝 `tests/test.py` (+63 -39) 📝 `ytmusicapi/__init__.py` (+3 -1) ➕ `ytmusicapi/auth/__init__.py` (+0 -0) ➕ `ytmusicapi/auth/browser.py` (+54 -0) ➕ `ytmusicapi/auth/headers.py` (+32 -0) ➕ `ytmusicapi/auth/oauth.py` (+71 -0) _...and 6 more files_ </details> ### 📄 Description Here it is. Please test! Looking forward to feedback. Thanks to @vixalien for the TypeScript POC over at https://github.com/vixalien/muse. --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
kerem 2026-02-27 23:01:40 +03:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/ytmusicapi#604
No description provided.