aboutsummaryrefslogtreecommitdiff
path: root/internal/ui/static/js/app.js
diff options
context:
space:
mode:
authorGravatar jvoisin <julien.voisin@dustri.org> 2024-03-13 23:29:07 +0100
committerGravatar Frédéric Guillot <f@miniflux.net> 2024-03-13 21:34:57 -0700
commitf4746a730661421445a176e8888aa5e5b79624cc (patch)
treedda39ff7277639bfe61d035956520a02c430d41f /internal/ui/static/js/app.js
parent648b9a8f6f1e2aad032caed11df64f449ea157c1 (diff)
downloadv2-f4746a730661421445a176e8888aa5e5b79624cc.tar.gz
v2-f4746a730661421445a176e8888aa5e5b79624cc.tar.zst
v2-f4746a730661421445a176e8888aa5e5b79624cc.zip
Fix and simplify shaarli's integration
- The jwt token was declared as using HS256 as algorithm, but was using HS512. - No need to base64-encode then remove the padding when we can simply encode without padding. - Factorize the header+payload concatenation as data Odds are that this integration was broken from the start (HS512 vs HS256), so I'm not sure if it's better to add tests or to simply get rid of it.
Diffstat (limited to 'internal/ui/static/js/app.js')
0 files changed, 0 insertions, 0 deletions