这是indexloc提供的服务,不要输入任何密码
Skip to content

Conversation

@rakeshkky
Copy link
Member

Description

Close WebSocket connection while subscriptions on JWT expiry.

Affected components

  • Server
  • Tests

Related Issues

close #578

Solution and Design

Run an async thread on websocket connection accept which terminates on JWT expiry.

Steps to test and verify

Perform a subscription query with JWT setup. The server should close connection on JWT expiry.

Limitations, known bugs & workarounds

@rakeshkky rakeshkky requested a review from 0x777 as a code owner May 10, 2019 12:39
@rakeshkky rakeshkky self-assigned this May 10, 2019
@rakeshkky rakeshkky added c/server Related to server s/ok-to-merge Status: This pull request can be merged to master labels May 10, 2019
@netlify
Copy link

netlify bot commented May 10, 2019

Deploy preview for hasura-docs ready!

Built with commit 41506f9

https://deploy-preview-2156--hasura-docs.netlify.com

@hasura-bot
Copy link
Contributor

Review app for commit be0b3e9 deployed to Heroku: https://hge-ci-pull-2156.herokuapp.com
Docker image for server: hasura/graphql-engine:pull2156-be0b3e90

Explicitly return jwt expiry time while resolving user info
@hasura-bot
Copy link
Contributor

Review app for commit 936dff3 deployed to Heroku: https://hge-ci-pull-2156.herokuapp.com
Docker image for server: hasura/graphql-engine:pull2156-936dff3f

@hasura-bot
Copy link
Contributor

Review app for commit 3667311 deployed to Heroku: https://hge-ci-pull-2156.herokuapp.com
Docker image for server: hasura/graphql-engine:pull2156-36673118

@hasura-bot
Copy link
Contributor

Review app for commit 41506f9 deployed to Heroku: https://hge-ci-pull-2156.herokuapp.com
Docker image for server: hasura/graphql-engine:pull2156-41506f96

@0x777 0x777 merged commit c6f40df into hasura:master May 14, 2019
@hasura-bot
Copy link
Contributor

Review app https://hge-ci-pull-2156.herokuapp.com is deleted

polRk pushed a commit to polRk/graphql-engine that referenced this pull request Feb 12, 2020
hasura-bot pushed a commit that referenced this pull request Sep 3, 2025
Add `forward_headers` config to `pre-ndc-request-plugin` which allows
request headers to be forwarded to `pre-ndc-request` plugins.

V3_GIT_ORIGIN_REV_ID: 37035e9ff39716b6fead05275e0dc9633f351198
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

c/server Related to server s/ok-to-merge Status: This pull request can be merged to master

Projects

None yet

Development

Successfully merging this pull request may close these issues.

server should handle JWT expiry for websocket connections

3 participants