deiu / solidproxy Goto Github PK
View Code? Open in Web Editor NEWProxy server with authentication (using WebID-TLS delegation)
License: MIT License
Proxy server with authentication (using WebID-TLS delegation)
License: MIT License
The proxy currently supports only one user that it gets from env. It should also be able to support multiple users, like in the case where it serves requests from a Solid server with lots of vhosts (e.g. databox.me).
If a user requests a large amount of resources through the proxy, the server should only handle them in parallel if there is a cookie/session opened with the target server. This way, we avoid doing the WebID-TLS auth dance multiple times.
Right now the proxy is tested against HTTP GETs. Need more tests for other methods used by Solid, such as POST/PUT/HEAD/OPTIONS.
Do not attempt to retry fetching with credentials after an HTTP 401
if no user is provided to the fetcher.
Attempt to move away from using github.com/elazarl/goproxy
. It should work with net/http
.
Sending two requests per resource adds up. Let's keep a cache of the set of resources which have asked for credentials in the past. For requested resources, we'll check the cached set to inform whether we should try with or without credentials.
Add a Docker config file.
The proxy needs to pass along any headers it receives from the requesting client.
Add documentation explaining what the code does.
Handle the scenario where a server decides to revoke its cookie.
There are currently a few config variables that are defined with a global scope. They should be passed to the handler functions during init phase instead.
The current version does not maintain persistent (keepalive) connections when fetching data from other servers. It should reuse the same client object when requesting additional resources.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.