Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Pa fix1 #7

Open
wants to merge 2 commits into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 7 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ docker compose up -d
```

- The CSS server will listen on port 8000;
- The agent server will listen on port 8080;
- The agent server will listen on port 8080; (**but do not connect to it just yet**)
- The client will listen on port 3000.

_Remark: the ACP and WebHook notifications are not enabled by default. We had to provide a custom configuration (see the `css/file-acp-notifications-all.json` file)._
Expand Down Expand Up @@ -74,15 +74,18 @@ docker cp ./data/solid-indexer/ solid-indexer_css:/data/

Go to http://localhost:8080 and login the agent.

Use the credentials you defined at the previous step.
Use the credentials you defined for `solid-indexer` at the previous step.

Click on "Authorize".

### 5. Login the user

Go to http://localhost:3000 and click on the "Login" button to log the user in.

Use the credentials you defined at the previous step.
If you are still logged in as `solid-indexer` (check "Your WebID is ..."),
then click on "Use a different WebID".

Use the credentials you defined for `user` at the previous step.

Click on "Authorize".

Expand Down Expand Up @@ -111,4 +114,4 @@ docker exec solid-indexer_css /bin/cat /data/user/public/typeIndex$.ttl
Remove all the subscriptions to notifications:
```
docker exec solid-indexer_css rm -f "/data/.internal/notifications/*"
```
```
2 changes: 1 addition & 1 deletion server/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,7 @@ app.get("/redirect-from-solid-idp", async (req: Request, res: Response) => {
const session = await getSessionFromStorage(req.session.sessionId);

if (session) {
await session.handleIncomingRedirect(`http://localhost:${port}${req.url}`);
await session.handleIncomingRedirect(`${req.url}`);

sessionId = session.info.sessionId;

Expand Down