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

Add in ability to refresh token before connecting/reconnecting #51

Merged
merged 2 commits into from
Jan 22, 2021

Conversation

JPinkney
Copy link
Contributor

@JPinkney JPinkney commented Jan 18, 2021

What does this PR do?

This PR in conjunction with eclipse-che/che-dashboard#134 makes it so that you can refresh a token when a websocket is reconnecting. That way, the token used when establishing the websocket connection is always valid. It also removes websocket context.

What issues does this PR fix or reference?

Part of eclipse-che/che#18490 (comment)

Signed-off-by: Josh Pinkney joshpinkney@gmail.com

Signed-off-by: Josh Pinkney <joshpinkney@gmail.com>
src/index.ts Outdated Show resolved Hide resolved
Signed-off-by: Josh Pinkney <joshpinkney@gmail.com>
@JPinkney JPinkney merged commit 8137c72 into eclipse-che:master Jan 22, 2021
@JPinkney JPinkney deleted the ws branch January 22, 2021 13:07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants