Repository navigation
Replies: 1 comment 1 reply
|
@datamweb , @neznaika0 , @michalsn , @samsonasik , @paulbalandan |
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
I'd like to discuss whether Shield should support a session-bound JWT flow for browser applications that use Shield to sign users in and JWTs to authenticate API requests.
The use case is a browser app that needs short-lived access tokens. Signing out in one browser should end API access from that session while keeping the user's other signed-in sessions available.
I've already submitted #1414 as the foundation for per-token revocation. If this direction fits Shield's scope, I'd be happy to send the remaining work as stacked PRs so the complete session-based flow can be reviewed in smaller steps. There's an initial session revocation prototype on my fork.
Would the maintainers be interested in this approach? If so, would you prefer a small API with application-owned routes documented in the JWT guide, or should Shield provide the routes as part of the integration?
All reactions