Skip to content

Instantly share code, notes, and snippets.

View QYG2297248353's full-sized avatar

Meng Sen QYG2297248353

View GitHub Profile
@QYG2297248353
QYG2297248353 / jf-dev-auth.md
Created August 24, 2026 04:53 — forked from nielsvanvelzen/jf-dev-auth.md
Jellyfin API Authorization

Jellyfin API Authorization

To start using the Jellyfin API, authorization is probably the first thing you'll need to do. Jellyfin's authorization options can be a bit confusing because there are a lot of deprecated options.

Generally there are three ways to authenticate: no authorization, user authorization with an access token or authorization with an API key. The first way is easy, just do nothing. But most often you'll need to use either the access token or API key.

Sending authorization values

There are multiple methods for transmitting authorization values, however, some are outdated and scheduled to be removed. It's recommend to use the Authorization header. If header auth isn't an option, the token may be sent through the ApiKey query parameter. Sending secure data in a query parameter is unsafe as the changes of it leaking (via logs, copy-paste actions or by other means) are high. Only use this method as a last resort.

4M7q7BHDYJEq6JyrkCT59k6iKLHgDJajZ7eiWYBYjjTKsPF1yrJJ5nu3pLPC5hwccjhnm9YibCGsKGj3LktNtkhRQEKdhMuDJwvPsAJYg57BcyKE8gmqBJTc3NnbpxUVQT3SXP5VCdZdz4sLd5JUDJ1QKZGKewha3FVSuXwTpXSHdX9UUQACyNyokUNaNCNvyfLeUVY2Cf627BQGPcsgSqjpu4Nw6dEF3MNzpBuq4iDqAkh7LEAE2vAJrzKgKBe7SBPAjAxrnvJB6XBjNAu1BsxvTG6u632nPcxV1GDDMVWFqtGTAEGrBGr6pXV4RGhz7enULio6mapjf5c5ca4gr1vcpufX7xjEGzLANwh4DC1fUDQAuHiaJyXsNK4EXpheSdLWBYqfw9sAoWudd7ptwecC5AKnRsxUcbNxwy1N6DnrdvBGdKvDVDpAu6ZHFWEsVzGT9Wqh5dak1u52HJfBgqiJr9vHuvB8oBahf73q1w7NeukDKX13FjrZaNkkHfcVg6He1WoueuKZtay9p1nb6k7Lyiiq7nuqhFMA1LEbLiwWNfpyrGFNgjhaaY1g3CoPR4eJfmPkCVy3gkyVXXRbSCCUWeCTivoVqTHsrVoVcANW2keq5QjZq6pP6QDJC2aJ6b87YYjdoNY6EHMXCJcoFpaQoLuyfjRomhtzBCwJYuaX8cVkPUQhN249cHu6Am6b59g6ofrcfWnaxBzTBbUc9zmyGWrpw8yeFLzMHWectVVVSeKd5UF7UkMkejWh4LAdZGsMhGQe73UVpq4hkjaMmirzQxZ2XWtdij5QHurnT87Dqz9suK6RKYna63LU2GedNB873R9Mwn32tppkDqJDdXhXf9CTNFHf5s1v6w6rGr6Dfmdjap3ssAVJYr7BqtfM1pb1ujd3mtwqSKqLStKftsCau6D7i85E2UoXzAtNqMnGrEHDjuMKBehGye2AEAxGaBiTT28wz5ovYee6pb7D8hf3ZptUb5VHaeph9VM5GLo1G8gteKUqGc56pAsQ1Jh4
@QYG2297248353
QYG2297248353 / shake.css
Last active September 30, 2022 17:27 — forked from sunzsh/shake.css
摇晃动画 class 引用 apply-shake 会产生0.82秒晃动
<style>
@keyframes shake {
10%,
90% {
transform: translate3d(-1px, 0, 0);
}
20%,
80% {
transform: translate3d(2px, 0, 0);