Skip to content

chore(websocket): [WIP] Making JWT algos configurable#25521

Merged
craig-rueda merged 1 commit intoapache:masterfrom
preset-io:craig/add-jwt-algos
Oct 23, 2023
Merged

chore(websocket): [WIP] Making JWT algos configurable#25521
craig-rueda merged 1 commit intoapache:masterfrom
preset-io:craig/add-jwt-algos

Conversation

@craig-rueda
Copy link
Copy Markdown
Member

@craig-rueda craig-rueda commented Oct 4, 2023

SUMMARY

Adds new [optional] config key to websocket server, jwtAlgorithms that allows for multiple algos to be utilized, as defined here: https://github.com/DefinitelyTyped/DefinitelyTyped/blob/master/types/jsonwebtoken/index.d.ts#L146

  • Retains the current default of HS256

Copy link
Copy Markdown
Member

@dpgaspar dpgaspar left a comment

Choose a reason for hiding this comment

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

would be nice to have tests

@craig-rueda
Copy link
Copy Markdown
Member Author

would be nice to have tests

There are tests, but this doesn't change functionality, so they continue to pass. I can add an additional test to verify the new codepath

@rusackas rusackas changed the title chore(websocket): Making JWT algos configurable chore(websocket): [WIP] Making JWT algos configurable Oct 17, 2023
@rusackas rusackas added the hold! On hold label Oct 17, 2023
@craig-rueda craig-rueda merged commit 861ee8b into apache:master Oct 23, 2023
@craig-rueda craig-rueda deleted the craig/add-jwt-algos branch October 23, 2023 18:28
cccs-rc pushed a commit to CybercentreCanada/superset that referenced this pull request Mar 6, 2024
@mistercrunch mistercrunch added 🏷️ bot A label used by `supersetbot` to keep track of which PR where auto-tagged with release labels 🚢 3.1.0 First shipped in 3.1.0 labels Mar 8, 2024
vinothkumar66 pushed a commit to vinothkumar66/superset that referenced this pull request Nov 11, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

🏷️ bot A label used by `supersetbot` to keep track of which PR where auto-tagged with release labels hold! On hold size/S 🚢 3.1.0 First shipped in 3.1.0

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants