inrupt / inrupt/solid-client-authn-js

Host several applications under the same origin

Open
#1,647 7 comments 4 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
TypeScript
Stars
77
Forks
49
Avg merge
18h 20m
Merged PRs (30d)
32

Description

Search terms you've used

origin

Impacted environment

In which environment would the proposed feature apply ?

  • The browser
  • Node.js
  • Other (please specify): ...
  • I'm not sure.
Feature suggestion

Allowing several applications to be served under the same origin, under different paths/with different query parameters.

Expected functionality/enhancement

Multiple applications are served under the same origin without having side effects on each other.

Actual functionality/enhancement

Currently, only one application may be hosted under a given origin. If more than one application is served under a shared origin, there are undesired behaviours especially around silent login. For instance, visiting one of the applications will automatically trigger a login involving a redirection to the latest application the user has logged in for the given origin, rather than simply keeping the user logged out until they initiate login.

Use Cases
  • Using personal GitHub pages to serve applications from several repositories.
Additional information

This feature has been requested as part of the conversation in https://github.com/inrupt/solid-client-authn-js/issues/1473, see additional details there.

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reading the related discussion in issue 1473 and tracing the browser silent-login flow described here. Done means applications under one origin can use different paths or query parameters without affecting one another, including avoiding an unintended redirect to another application's latest login.

Written by the indexing model from the issue text.

Assessment

Tech stack
typescript
Domain
authentication, web-dev
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.