Skip to content

Commit f4fe166

Browse files
authored
fix(jellyfin-api): use standard Authorization header (#2211)
Replace X-Emby-Authorization with Authorization header to fix authentication failures when users have <EnableLegacyAuthorization>false</EnableLegacyAuthorization> in their Jellyfin system.xml.
1 parent d660a54 commit f4fe166

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

server/api/jellyfin.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -145,7 +145,7 @@ class JellyfinAPI extends ExternalAPI {
145145
{},
146146
{
147147
headers: {
148-
'X-Emby-Authorization': authHeaderVal,
148+
Authorization: authHeaderVal,
149149
'Content-Type': 'application/json',
150150
Accept: 'application/json',
151151
},

0 commit comments

Comments
 (0)