Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

jwt auth on websockets #4039

Merged
merged 7 commits into from
Jul 1, 2022
Merged

jwt auth on websockets #4039

merged 7 commits into from
Jul 1, 2022

Conversation

jflo
Copy link
Contributor

@jflo jflo commented Jul 1, 2022

fixes #3990

jflo added 2 commits July 1, 2022 09:51
Signed-off-by: Justin Florentine <justin+github@florentine.us>
…ccessful

Signed-off-by: Justin Florentine <justin+github@florentine.us>
@jflo jflo force-pushed the 3990-jwt-on-websockets branch from bae8c5f to fd3f980 Compare July 1, 2022 13:52
jflo and others added 2 commits July 1, 2022 10:08
Signed-off-by: Justin Florentine <justin+github@florentine.us>
Copy link
Contributor

@garyschulte garyschulte left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM, just a question about test serialization class

import com.fasterxml.jackson.annotation.JsonSetter;

@JsonPropertyOrder({"jsonrpc", "id", "result"})
public class MutableJsonRpcSuccessResponse {
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

can this be moved to src/test ? It looks like it is only used as a deserialization target in tests

jflo added 2 commits July 1, 2022 14:26
Signed-off-by: Justin Florentine <justin+github@florentine.us>
Copy link
Contributor

@garyschulte garyschulte left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🚢

@jflo jflo enabled auto-merge (squash) July 1, 2022 18:45
@jflo jflo merged commit 043191a into hyperledger:main Jul 1, 2022
garyschulte added a commit that referenced this pull request Jul 7, 2022
Signed-off-by: garyschulte <garyschulte@gmail.com>
garyschulte added a commit that referenced this pull request Jul 7, 2022
49e4fd8 -> worldstate not avail (#4069)
6aa8812 -> stateroot mismatch (#4041)
043191a -> jwt auth on websockets (#4039)
90f891b -> do not move head on exec and propose (#4013)
3baa4da -> upgrade for websockets (#4019)
5024c07 -> sepolia TTD (#4024)
5ee9be8 -> heal step in snap (#3920)
261b1e0 -> remove peer block height requirements (#3911)

Signed-off-by: garyschulte <garyschulte@gmail.com>
garyschulte added a commit that referenced this pull request Jul 7, 2022
49e4fd8 -> worldstate not avail (#4069)
6aa8812 -> stateroot mismatch (#4041)
043191a -> jwt auth on websockets (#4039)
90f891b -> do not move head on exec and propose (#4013)
b5fa62c -> sync check before processing remote transactions (4035)
3baa4da -> upgrade for websockets (#4019)
5024c07 -> sepolia TTD (#4024)
5ee9be8 -> heal step in snap (#3920)
261b1e0 -> remove peer block height requirements (#3911)

Signed-off-by: garyschulte <garyschulte@gmail.com>
@garyschulte garyschulte mentioned this pull request Jul 8, 2022
eum602 pushed a commit to lacchain/besu that referenced this pull request Nov 3, 2023
* integration test covering websocket subscription without auth
* uses authenticated user on websocket handler when auth enabled and successful
* sonarlint fixes and copyright correction
* moved test specific class to test sources

Signed-off-by: Justin Florentine <justin+github@florentine.us>

Co-authored-by: garyschulte <garyschulte@gmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

JWT Authenticated RPC not working via Websockets
3 participants