Comments (1)
Revocation will have to be handled at the JWT level. Every subscriber will have the "account-" target, to remove a subscriber from this account, you may:
- use a short expiration time for the JWT, so the subscriber will have to refresh it often, and when it will be removed, after the expiration time of the JWT you'll be sure that the subscriber access is revoked
- handle JWT revocation in a stateful auth mechanism that you'll put in front of the mercure hub: then you'll store in a persistence layer the list of revoked JWT, and prevent access if it is
wdyt?
from mercure.
Related Issues (20)
- Change to `mercure/caddy` breaks older cached builds HOT 1
- Mercure.db keep increasing like crazy HOT 3
- Allow debug UI to open without tailing / in URL HOT 2
- feat: Add a health check endpoint HOT 3
- ERR_HTTP2_PROTOCOL_ERROR, reducing write_timeout doesn't work HOT 2
- feat: Support JWKS for JWT validation HOT 2
- Mercure call in browser is still pending HOT 7
- Create a mercure-server command HOT 1
- Issue on multiple connections with proxy Apache HOT 4
- Why can i subscribe to topics which are not specified in the JWT token ? HOT 2
- Filtering subscriptions by topic doesn't work HOT 1
- Troubleshooting Mercure deployment on Digital Ocean APP Platform
- Mercure inside docker and behind server host Nginx proxy HOT 1
- Using NATS as backend for Mercure API/Protocol? HOT 6
- Switch from golang-jwt/jwt to go-jose/go-jose HOT 3
- Help for configuring Mercure behind nginx as proxy-server HOT 6
- I'm trying to get mercure to work on a Plesk server, but it's unreachable HOT 1
- Upstream Error when Using Mercure with Nginx Ingress on Kubernetes
- Strugling to format http.log.access.log0 logs to full json HOT 2
- CORS (403 Errors) when OPTIONS requests sent
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from mercure.