Skip to content

Conversation

porcellus
Copy link
Collaborator

Summary of change

fix: fix getting jwt signing keys with MongoDB (already existing in master)

Related issues

  • Link to issue1 here
  • Link to issue1 here

Test Plan

Added test that creates 2 JWTs, ensuring we have a key created before we sign the second one

Documentation changes

N/A

Checklist for important updates

  • Changelog has been updated
    • If there are any db schema changes, mention those changes clearly
  • coreDriverInterfaceSupported.json file has been updated (if needed)
  • pluginInterfaceSupported.json file has been updated (if needed)
  • Changes to the version if needed
    • In build.gradle
  • If added a new paid feature, edit the getPaidFeatureStats function in FeatureFlag.java file
  • Had installed and ran the pre-commit hook
  • If there are new dependencies that have been added in build.gradle, please make sure to add them
    in implementationDependencies.json.
  • Issue this PR against the latest non released version branch.
    • To know which one it is, run find the latest released tag (git tag) in the format vX.Y.Z, and then find the
      latest branch (git branch --all) whose X.Y is greater than the latest released tag.
    • If no such branch exists, then create one from the latest released branch.

@rishabhpoddar rishabhpoddar merged commit 321bbfe into feat/access_token_to_jwt_base Apr 5, 2023
@rishabhpoddar rishabhpoddar deleted the fix/jwt_with_mongo branch April 5, 2023 05:15
rishabhpoddar added a commit that referenced this pull request Apr 5, 2023
* feat: adding new access token version and BE controlled dynamic/static key signing

* feat: finishing jwt-to-access token + tests

* refactor: adding/using a semver class instead of version strings

* refactor: update/fix cdi version handling

* refactor: adding/using a semver class instead of version strings (#576)

* adds foreign key constraint to in mem db

* refactor: adding/using a semver class instead of version strings

* refactor: review comments

* refactor: cleaned up code, added convenience functions & tests

---------

Co-authored-by: rishabhpoddar <rishabh.poddar@gmail.com>

* refactor: fix review comments

* refactor: remove unused constructor

* feat: add checkDatabase to session verification API

* feat: add an overlap time to generate dynamic signing keys before use

* docs: update comments based on review feedback

* chore: update plugin interface version

* test: fix tests

* chore: update changelog

* chore: add deprecation notice

* fix: remove unused code

* refactor: fix review comments

* chore: update changelog

* fix: add NOT NULL to use_static_key for in-memory db as well

* chore: fix table name in migration instructions in the changelog

* feat: rename useStaticSigningKey param and expand testing (#588)

* feat: make refresh api return unauthorised on AccessTokenPayloadError (#590)

* feat: make refresh api return unauthorised on AccessTokenPayloadError

* fix: create/sign legacy sessions with the appropriate key

* fix: minor consistency fixes (#617)

* refactor: update CDI version number

* fix: fix getting jwt signing keys with mongodb (#623)

* test: update tests after merge

* feat: make old config name still work for backwards compatibility (mainly testing)

* refactor: update CDI version

* chore: update version number

* test: remove some checks that are no longer correct

---------

Co-authored-by: rishabhpoddar <rishabh.poddar@gmail.com>
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.

2 participants