LibSQL JWT token support
I maintainer di solito rispondono entro 1 giorno
Nessuno ha ancora preso questa issue.
Valutazione
- Difficoltà
- 3/5
- Tempo stimato
- 1-2 giorni
- Idoneità per principianti
- 68/100
- Tipo di issue
- Funzionalità
- Chiarezza
- Abbastanza chiara
- Stato di attività
- Attiva
- Stack tecnologico
- docker, sql, typescript
- Ambito
- authentication, databases, devops
Direzione di ricerca
Start with Dokploy's LibSQL server implementation and compare its authentication configuration with the LibSQL DOCKER.md guidance linked in the issue. Identify how sqld is configured in Docker, then support the documented JWT key path or SQLD_AUTH_JWT_KEY environment variable. Done means LibSQL can be started with JWT authentication and compatible drivers can connect without the basic-auth workaround; the issue does not name specific tests or files.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Descrizione
What problem will this feature address?
Currently Dokploy's LibSQL server implementation only supports basic auth, some drivers do not support or do not work correctly with this auth method.
Describe the solution you'd like
According to https://github.com/tursodatabase/libsql/blob/a57ad4a2742c1cefb25d3288b33ed25c6570e0d2/docs/DOCKER.md?plain=1#L67
Http auth is a legacy option, and it would be better to either migrate to, or be able to offer JWT based authentication.
As per https://github.com/tursodatabase/libsql/blob/a57ad4a2742c1cefb25d3288b33ed25c6570e0d2/docs/DOCKER.md?plain=1#L72 this can be done by either providing a path to a JWT decoding key, or you can also pass the key directly in the env variable SQLD_AUTH_JWT_KEY.
Describe alternatives you've considered
Some drivers simply refuse to work in "turso"/"libsql" mode without an auth token... this can be worked around by manually creating a sqld docker instance, but then you loose the advantage of it not "just being another docker container in your projects" instead of being an actual "database" project.
Additional context
This was also discussed in the initial implementation PR: https://github.com/Dokploy/dokploy/pull/2601#issuecomment-3311267894
Will you send a PR to implement it?
No
- Lingua principale
- TypeScript
- Stelle
- 38.2k
- Fork
- 3.1k
- Merge medio
- 1g 15h
- PR unite (30g)
- 72
Preparare l'ambiente
Avvia il container di sviluppo del progetto nel browser, con il tuo account GitHub.
- Include un Dockerfile o un file Docker Compose
- Ha un modello di pull request
- Leggi la guida per i contributori
Come iniziare
- Leggi tutta la issue e poi la guida ai contributi del progetto.
- Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
- Fai un fork del repository e lavora su un branch.
- Apri una pull request che faccia riferimento al numero della issue.
Altre issue di Dokploy/dokploy
-
enhancement
Difficoltà 2/5 1-3 ore Idoneità per principianti 65/100
Dokploy/dokploy#5892 · 1 commento ·
I maintainer di solito rispondono entro 1 giorno
-
needs-triage🔍
Difficoltà 2/5 1-3 ore Idoneità per principianti 62/100
Dokploy/dokploy#5836 · 1 commento ·
I maintainer di solito rispondono entro 1 giorno
-
Server threshold (CPU/Memory) alerts for the main Dokploy server never reach any notificationForse già presa @ghazy2001 l’ha presa 7 giorni fa. Aperta
Difficoltà 2/5 1-3 ore Idoneità per principianti 75/100
Dokploy/dokploy#5830 · 1 commento ·
I maintainer di solito rispondono entro 1 giorno
-
Add a "System" option to the dark/light mode setting (follow OS appearance)Forse già presa @fabianfrankwerner l’ha presa 28 giorni fa. Apertaenhancement
Difficoltà 2/5 1-3 ore Idoneità per principianti 62/100
Dokploy/dokploy#5638 · 1 commento ·
I maintainer di solito rispondono entro 1 giorno
-
compose.search omits services missing from member accessedServices, even for owners/adminsForse già presa @imrja8 l’ha presa 9 giorni fa. Aperta
Difficoltà 2/5 1-3 ore Idoneità per principianti 82/100
Dokploy/dokploy#5361 · 2 commenti · 1 reazione ·
I maintainer di solito rispondono entro 1 giorno
Tutte le issue di Dokploy/dokploy
Issue simili
-
area:frontend kind:bug priority:p2 ready
Difficoltà 2/5 1-3 ore Idoneità per principianti 82/100
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 82/100
handsontable/hyperformula#1879 ·
I maintainer di solito rispondono entro 1 giorno
-
enhancement
Difficoltà 2/5 1-3 ore Idoneità per principianti 66/100
RunestoneInteractive/rs#1661 ·
I maintainer di solito rispondono entro 2 giorni
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 78/100
capricorn86/happy-dom#2594 ·
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 68/100
I maintainer di solito rispondono entro 1 giorno