[PR #10] [MERGED] Improve token validation in auth_ok method #24

Closed
opened 2026-02-28 15:42:54 +03:00 by kerem · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/varunneal/spotify-mcp/pull/10
Author: @manncodes
Created: 3/10/2025
Status: Merged
Merged: 3/10/2025
Merged by: @varunneal

Base: mainHead: main


📝 Commits (1)

  • 757191c Improve token validation in auth_ok method and handle missing token case

📊 Changes

1 file changed (+9 additions, -4 deletions)

View changed files

📝 src/spotify_mcp/spotify_api.py (+9 -4)

📄 Description

Enhance the token validation process by handling cases where the token is missing and ensuring proper logging of the authentication status. Return False on errors instead of raising exceptions.


🔄 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/varunneal/spotify-mcp/pull/10 **Author:** [@manncodes](https://github.com/manncodes) **Created:** 3/10/2025 **Status:** ✅ Merged **Merged:** 3/10/2025 **Merged by:** [@varunneal](https://github.com/varunneal) **Base:** `main` ← **Head:** `main` --- ### 📝 Commits (1) - [`757191c`](https://github.com/varunneal/spotify-mcp/commit/757191cb0f36a1113979d710c830a19c95bb5115) Improve token validation in auth_ok method and handle missing token case ### 📊 Changes **1 file changed** (+9 additions, -4 deletions) <details> <summary>View changed files</summary> 📝 `src/spotify_mcp/spotify_api.py` (+9 -4) </details> ### 📄 Description Enhance the token validation process by handling cases where the token is missing and ensuring proper logging of the authentication status. Return False on errors instead of raising exceptions. --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
kerem 2026-02-28 15:42:54 +03:00
Sign in to join this conversation.
No labels
pull-request
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/spotify-mcp-varunneal#24
No description provided.