inrupt / inrupt/solid-client-authn-js
Enable the creation of Session that is already logged in
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
isLoggedIn
Feature suggestion
I would like to be able to create a Session with constructor arguements that contain my accessToken, rsaKeyPair and publicKeyJwk that have been generated elsewhere; and for this to create a Session object that is in a logged in state.
Use Cases
A team that I am working with is building SOLID applications in flutter/dart - and has built an authentication library there to log in and create these credentials. However we still want to make use of things like Comunica and LDflex within the JS ecosystem - so we want to pass the credentials generated in the dart application into the JS code and generate an already logged in session object which can then be used by https://github.com/comunica/comunica-feature-solid.
Currently I am just passing a custom session object which uses a few functions from the internals of this library to create an authenticated fetch function.
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by locating the Session constructor and the internal functions used by the reported custom session object. Trace how accessToken, rsaKeyPair, and publicKeyJwk affect authentication state, then verify that supplied credentials produce a logged-in Session usable by Comunica and LDflex.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- typescript
- Domain
- authentication
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100