Skip to content

SolidOS Auth Upgrade #38

@jaxoncreed

Description

@jaxoncreed

This ticket Represents Sub-Project 1 of the SolidOS Auth upgrade:

See #38 (comment) for the official announcement of the completion of this project.

  • solid-client-authn-js-browser is integrated in SolidOS
  • Login header has a new UI for selecting the issuer
  • All tests are updated to work with the new login
  • Solid Test Suite passes (Does the test suite even touch this code? I don't think so)
  • Login to ESS on SolidOS Hosted from NSS
  • Login to NSS on SolidOS Hosted from NSS
  • Login to CSS on SolidOS Hosted from NSS
  • Login to ESS on SolidOS Hosted from Data Kitchen (ESS broker crashes when you have a file:// redirect)
  • Login to NSS on SolidOS Hosted from Data Kitchen
  • Login to CSS on SolidOS Hosted from Data Kitchen (CSS IdP rejects file:// redirects)
  • Login to ESS on SolidOS Hosted as a separate webpage
  • Login to NSS on SolidOS Hosted as a separate webpage
  • Login to CSS on SolidOS Hosted as a separate webpage
  • Refreshing the page does not log the user out
  • Problem to note: NSS handles a failed requests with a separate webpage. It should instead send a data browser.
  • Problem to note: Anything in an iframe (Dokeli) cannot get access to the credentials and will not be allowed
  • Problem to note: any hash (like #me) is removed upon redirect. This could be accounted for either in Solid-Client-Authn-JS or inside the data browser
  • Problem to note: Alain gets ReferenceError: TextEncoder is not defined with node v16.5, v14.17 or v12.19 on a windows WSL1 to build.
  • Problem to note: logout do not really log you out until you refresh the page.
  • Problem to note: switching users doesn't work
  • Problem to note: Redirects will always go to the same page you've redirected from. This problem is known here: handleIncomingRedirect restore all query parameters but shouldn't inrupt/solid-client-authn-js#1473. Solution: Save the current url and navigate to that upon refresh.
  • Node-Solid-Server fails against the test suite due to 412 statuses
  • Problem to note: In some cases (Ask Timea for the cases) the logout button fails to load. She believes the problem is here: https://github.com/solid/solid-ui/blob/auth-upgrade/src/authn/authn.ts#L1152
  • Log in to one place and log into another see if there are problems
  • List inrupt.net and inrupt.com on login ui
  • Home page is not displaying
  • Test other panes like dokeli
    • activitystreams-pane
    • chat-pane
    • contacts-pane (There are also build problems on this one)
    • folder-pane
    • issue-pane
    • money-pane
    • source-pane
    • dokie.li (no way to deal with this outside of not using an iFrame)
  • Figure out what the types should be on the rdflib
  • Upgrade all references to authSession to things like currentUser
  • Logout from NSS problem with cookies
  • Solidweb too many redirects (Unable to replicate. This probably can be solved by clearing cookies on solidweb.org)
  • Upgrade NSS tests to work with that cookie
  • Deploy

The following libraries are linter and test fixes that should be merged in first:

Auth Upgrade includes the following libraries:

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions