nodeSolidServer / nodeSolidServer/node-solid-server
Rethink authentication configuration
Nessuno ha ancora preso questa issue.
- Lingua principale
- JavaScript
- Stelle
- 1.8k
- Fork
- 308
- Metriche di merge delle PR
- Nessuna PR unita negli ultimi 30g
Descrizione
Right now, the server supports two different auth modes, confusingly named auth: "tls" and auth: "oidc", even though that doesn't cover exactly what they do. The main problem is that this one setting gives the impression that both methods are mutually exclusive, whereas they are not.
Discussions such as #667, #671, https://github.com/solid/solid-auth-client/issues/44, https://github.com/solid/solid/issues/138, https://github.com/solid/oidc-auth-manager/issues/20 show that there is a need for more clarity, and a better configuration option.
This issue tracks general progress and will act as a tracker for multiple sub-issues.
Here are the steps we need to take in my opinion:
- Have one single contract for the entire node-solid-server to track a) the WebID of the logged-in agent b) the method through which that agents has logged in
- Document the above contract
- Ensure that “ask for a client certificate on every resource (WebID-TLS)” can be enabled and disabled independently of other features
- Ensure that “act as an OIDC identity provider” can be enabled and disabled independently of other features
- Ensure that “log in with OIDC through username/password” can be enabled and disabled independently of other features
- Ensure that “log in with OIDC through client certificates (WebID-TLS)” can be enabled and disabled independently of other features
- Ensure that “accept bearer tokens” can be enabled and disabled independently of other features
- Examine whether we want to always translate successful logins into an Express cookie-based session
- Examine whether we want to allow turning on or off cookie-based sessions
- Create a configuration section that allows to enable and disable all of the above options independently
- Update the
initgenerator to create the right config - Remove the old
authconfig section
Feedback welcome.
Guida per i contributori
Apri 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.
Direzione di ricerca
Inizia leggendo le discussioni #667, #671 e le issue di autenticazione collegate per comprendere il design ancora irrisolto. Poi segui la configurazione auth esistente e l’init generator, entrambi menzionati nell’issue. Il lavoro è completo quando la vecchia sezione auth viene sostituita da controlli indipendenti e documentati per le opzioni elencate relative a login, token, certificati, identity provider e sessione tramite cookie.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Valutazione
- Stack tecnologico
- express, javascript, node.js
- Ambito
- authentication, backend
- Tipo di issue
- Funzionalità
- Difficoltà
- 5/5
- Tempo stimato
- Più di una settimana
- Stato di attività
- Ferma
- Chiarezza
- Da chiarire
- Idoneità per principianti
- 20/100