Skip to content

Include ApiKey in /Videos/{id} requests for future auth compatibility #1915

@santoscarias

Description

@santoscarias

This feature request respects the following points:

Platform

iOS

Describe the feature you'd like to see

Hi 👋 When inspect Swiftfin's network traffic to the server I noticed it does unauthenticated requests for /Video, e.g.:

/Videos/f4a0b1c2d3e5c4b8a9e6f7d8e9a0b1d4/stream?mediaSourceId=2f0340563593c4d98b97c9bfa21ce24f&playSessionId=e3a869b7a901f8894de8ee65688db6c0&static=true&tag=J3wen7c44lC5rRKFo9Hb did not appear to include an apikey or authorization header. Given jellyfin/jellyfin#13984, server-side auth will eventually be required..?

Would it be an idea to already future proof and add authorization details to the request?
(See https://gist.github.com/nielsvanvelzen/ea047d9028f676185832e51ffaf12a6f#sending-authorization-values for how to add this to a request)

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or requestiOSImpacts iOS or iPadOS

    Type

    Projects

    Status

    In-Progress

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions