https://github.com/tdiprima/solid-sentry
Solid OIDC proof of concept
https://github.com/tdiprima/solid-sentry
community-solid-server inrupt oidc webid
Last synced: 3 months ago
JSON representation
Solid OIDC proof of concept
- Host: GitHub
- URL: https://github.com/tdiprima/solid-sentry
- Owner: tdiprima
- License: mit
- Created: 2024-11-07T16:57:18.000Z (11 months ago)
- Default Branch: main
- Last Pushed: 2025-02-03T13:42:37.000Z (8 months ago)
- Last Synced: 2025-06-07T07:36:43.321Z (4 months ago)
- Topics: community-solid-server, inrupt, oidc, webid
- Language: JavaScript
- Homepage:
- Size: 20.5 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Solid-Sentry
This project demonstrates a basic implementation of Solid OIDC for secure login and profile access in a web application.
### Overview
1. **Solid OIDC Integration**: The app showcases Solid OpenID Connect (OIDC) integration using `app.js` and `index.html` to handle login and fetch user profiles.
2. **Login and Session Management**: A login button triggers the OIDC flow with a designated issuer (`https://solidcommunity.net`). Post-login, `app.js` processes the session and, if valid, retrieves basic profile data, such as the user's name.
3. **Proof of Concept**: This setup serves as a foundational example of authenticating and accessing user data using Solid's framework.### Setup and Usage
1. **Start the Solid Community Server** (optional for local development):
```sh
npx @solid/community-server -p 3003 #-c @css:config/file.json
```2. **Install Dependencies**:
```sh
npm install @inrupt/solid-client-authn-browser @inrupt/solid-client
```- **`@inrupt/solid-client-authn-browser`**: A library for handling authentication in browser-based applications using Solid, helping users log in to Solid pods and handle session management.
- **`@inrupt/solid-client`**: A library for interacting with Solid pods, allowing you to read from and write to pod data, manage permissions, and more.3. **Run the App**:
```sh
npm start
```The app will be accessible on http://localhost:5173/ with OIDC functionality ready for testing.