Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/otto-aa/solid-flask
https://github.com/otto-aa/solid-flask
Last synced: 7 days ago
JSON representation
- Host: GitHub
- URL: https://github.com/otto-aa/solid-flask
- Owner: Otto-AA
- License: mit
- Created: 2023-02-20T16:34:56.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2023-10-29T10:47:42.000Z (about 1 year ago)
- Last Synced: 2023-10-30T10:19:51.473Z (about 1 year ago)
- Language: Python
- Size: 19.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 Flask
A simple demo app to show how to use [solid_oidc_client](https://pypi.org/project/solid-oidc-client/0.0.2/). It is based on [solid-flask](https://gitlab.com/agentydragon/solid-flask/) by Rai. It runs a flask server that allows users to login and then fetches private resource through the credentials stored in the backend.
## Running
- Run `python3 -m venv venv` to create a virtual environment (so you don't install dependencies globally)
- Start the virtual environment, e.g. `. venv/bin/activate`
- Install dependencies `pip install -r requirements.txt`Now you can start the application with `python solid_flask_main.py`. Append eg `--issuer https://login.inrupt.com/` to run it with a different issuer.