GeezerVisonThe World Wide Web, restored to 800 pixels of glory. |
| Home|About|Gaming cabinet|Archives|How it works|Starter sites |
GeezerVison is showing github.com — feature: support both WebID-TLS and Solid-OIDC authentication simultaneously · Issue #1844 · nodeSolidServer/node-solid-server Open DescriptionSummaryCurrently NSS only supports one authentication method at a time ( Current Behavior// lib/create-app.mjs:335-339 const auth = argv.forceUser ? 'forceUser' : argv.auth if (!(auth in API.authn)) { throw new Error(`Unsupported authentication scheme: ${auth}`) } await API.authn[auth].initialize(app, argv) // Only ONE method initialized Proposed BehaviorInitialize both auth handlers and let them chain naturally: async function initAuthentication(app, argv) { // Initialize both handlers await API.authn.oidc.initialize(app, argv) await API.authn.tls.initialize(app, argv) } The handlers already call Benefits
ImplementationThe change is minimal:
Prior ArtJavaScriptSolidServer (JSS) already supports this - it tries auth methods in sequence:
Works well and provides maximum flexibility. ActivityMetadataMetadataAssigneesLabelsNo labels TypeProjectsMilestoneRelationshipsDevelopmentIssue actions |
| You are visitor 01402520 — GeezerVison does not store the pages you look up. Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required. |