[PR #83] [CLOSED] Change API authorization to work more consistently. #183

Closed
opened 2026-10-15 18:05:22 +00:00 by bsakaguchi · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/SillyTavern/SillyTavern-Extras/pull/83
Author: @viktorpetkov000
Created: 7/18/2023
Status: ❌ Closed

Base: main ← Head: main


📝 Commits (5)

📊 Changes

2 files changed (+16 additions, -8 deletions)

View changed files

📝 .gitignore (+5 -1)
📝 server.py (+11 -7)

📄 Description

As per issue #79. Replaced getattr(request.authorization, 'token', '') which produced an empty token, with request.headers.get('Authorization').


🔄 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/SillyTavern/SillyTavern-Extras/pull/83 **Author:** [@viktorpetkov000](https://github.com/viktorpetkov000) **Created:** 7/18/2023 **Status:** ❌ Closed **Base:** `main` ← **Head:** `main` --- ### 📝 Commits (5) - [`f148f86`](https://github.com/SillyTavern/SillyTavern-Extras/commit/f148f867f7d0981ba1f6e903f0a4a5e5fcd86c90) Changed API key check to work more consistently. - [`1da03af`](https://github.com/SillyTavern/SillyTavern-Extras/commit/1da03afb681a2541ef74a0d7c599aede9f9ea023) Changed the API key authorization request to work more consistently. - [`1ba22f5`](https://github.com/SillyTavern/SillyTavern-Extras/commit/1ba22f58b541e99c4935b3675d1c834c35df6de8) Changed API key check to work more consistently. - [`89115cc`](https://github.com/SillyTavern/SillyTavern-Extras/commit/89115cc043aeb113d99a3285b6b8d46270e4054f) Added ignores for expressions characters & bat. - [`03d1150`](https://github.com/SillyTavern/SillyTavern-Extras/commit/03d1150bac8613bce41d3b21bf7b4bc4cb53fc76) Merge branch 'main' of https://github.com/viktorpetkov000/SillyTavern-extras ### 📊 Changes **2 files changed** (+16 additions, -8 deletions) <details> <summary>View changed files</summary> 📝 `.gitignore` (+5 -1) 📝 `server.py` (+11 -7) </details> ### 📄 Description As per issue #79. Replaced getattr(request.authorization, 'token', '') which produced an empty token, with request.headers.get('Authorization'). --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
bsakaguchi 2026-10-15 18:05:22 +00: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
SillyTavern/SillyTavern-Extras#183
No description provided.