Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: mongodb-js/oidc-plugin
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: v1.1.6
Choose a base ref
...
head repository: mongodb-js/oidc-plugin
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: main
Choose a head ref
  • 17 commits
  • 19 files changed
  • 4 contributors

Commits on Apr 30, 2025

  1. fix: handle ID token expiry time and premature expiration MONGOSH-2145

    …MONGOSH-2147 (#211)
    
    * fix: use ID token expiry if `passIdTokenAsAccessToken` is set MONGOSH-2145
    
    * fix: do not return token to driver which is being rejected MONGOSH-2147
    
    Ensure that we do not return tokens from a token set that the driver
    is currently rejecting (in the sense of calling the OIDC callback
    again and referring to it via the driver `refreshToken` property).
    addaleax authored Apr 30, 2025
    Configuration menu
    Copy the full SHA
    a7534cc View commit details
    Browse the repository at this point in the history
  2. chore: bump version to v1.1.7 (#213)

    Co-authored-by: addaleax <899444+addaleax@users.noreply.github.com>
    mongodb-devtools-bot[bot] and addaleax authored Apr 30, 2025
    Configuration menu
    Copy the full SHA
    2dafeb4 View commit details
    Browse the repository at this point in the history

Commits on Jun 10, 2025

  1. Configuration menu
    Copy the full SHA
    81a63f7 View commit details
    Browse the repository at this point in the history

Commits on Jun 16, 2025

  1. chore: bump version to v1.1.8 (#217)

    Co-authored-by: addaleax <899444+addaleax@users.noreply.github.com>
    mongodb-devtools-bot[bot] and addaleax authored Jun 16, 2025
    Configuration menu
    Copy the full SHA
    2d9074b View commit details
    Browse the repository at this point in the history

Commits on Jun 26, 2025

  1. feat(deps)!: update Node.js to v20 (#214)

    Co-authored-by: Anna Henningsen <anna.henningsen@mongodb.com>
    Anemy and addaleax authored Jun 26, 2025
    Configuration menu
    Copy the full SHA
    0bb5f2b View commit details
    Browse the repository at this point in the history

Commits on Jul 3, 2025

  1. Configuration menu
    Copy the full SHA
    161eb6d View commit details
    Browse the repository at this point in the history
  2. feat: add codeName to all OIDC errors coming from the plugin (#219)

    It came up in conversations that OIDC connections in Compass fail frequently,
    but we do not have real insight into why that is and what the most common
    errors are overall.
    addaleax authored Jul 3, 2025
    Configuration menu
    Copy the full SHA
    1598600 View commit details
    Browse the repository at this point in the history

Commits on Jul 4, 2025

  1. chore: bump version to v2.0.0 (#220)

    Co-authored-by: addaleax <899444+addaleax@users.noreply.github.com>
    mongodb-devtools-bot[bot] and addaleax authored Jul 4, 2025
    Configuration menu
    Copy the full SHA
    3bcd790 View commit details
    Browse the repository at this point in the history

Commits on Jul 10, 2025

  1. Configuration menu
    Copy the full SHA
    4f69e53 View commit details
    Browse the repository at this point in the history
  2. chore: bump version to v2.0.1 (#222)

    Co-authored-by: addaleax <899444+addaleax@users.noreply.github.com>
    mongodb-devtools-bot[bot] and addaleax authored Jul 10, 2025
    Configuration menu
    Copy the full SHA
    efbb92c View commit details
    Browse the repository at this point in the history

Commits on Aug 8, 2025

  1. chore: skip integration tests for Windows too in Evergreen (#227)

    These seem to have started to fail recently too, without changes to the
    code itself (i.e. possibly only because of infrastructure or external
    dependency changes such as Chrome updates).
    addaleax authored Aug 8, 2025
    Configuration menu
    Copy the full SHA
    8fbf605 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    4ac5a17 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    444377a View commit details
    Browse the repository at this point in the history
  4. fix: improve node-fetch compatibility in error cases MONGOSH-2443 (#224)

    `node-fetch` currently does not return a body that is a web/standard
    `ReadableStream`, which is what openid-client expects. Since it only
    makes use of this in error cases, no additional cases are broken,
    but the error message is highly unhelpful in these cases.
    
    Unfortunately, it is not trivial to resolve this without fully wrapping
    the `node-fetch`, so this provides a limited compatibility layer rather
    than a full-featured one.
    addaleax authored Aug 8, 2025
    Configuration menu
    Copy the full SHA
    802564b View commit details
    Browse the repository at this point in the history
  5. chore: bump version to v2.0.2 (#229)

    Co-authored-by: addaleax <899444+addaleax@users.noreply.github.com>
    mongodb-devtools-bot[bot] and addaleax authored Aug 8, 2025
    Configuration menu
    Copy the full SHA
    deb2f56 View commit details
    Browse the repository at this point in the history

Commits on Aug 13, 2025

  1. fix: improve error message for generic openid-client error MONGOSH-2487

    … (#230)
    
    * fix: improve error message for generic openid-client error MONGOSH-2487
    
    Similar to previous commits, this change ensures that diagnostic information
    is not lost through recent changes to openid-client's error system, where
    currently a number of errors are grouped together under "something went wrong"
    (https://github.com/panva/openid-client/blob/a1e4a4fd88fcdff12d88e3ff73f3e27fe5df4252/src/index.ts#L975)
    and the library expects consumers to consistently expose the `cause` property
    of the error object.
    
    This also unifies the two existing `messageFromError` and `errorString`
    implementations, which happened to duplicate each other.
    
    * fixup: electron compat
    
    * fixup: do not add "[object Response]" to errors
    
    * fixup: add anchors to regex
    addaleax authored Aug 13, 2025
    Configuration menu
    Copy the full SHA
    cb07f51 View commit details
    Browse the repository at this point in the history
  2. chore: bump version to v2.0.3 (#231)

    Co-authored-by: addaleax <899444+addaleax@users.noreply.github.com>
    mongodb-devtools-bot[bot] and addaleax authored Aug 13, 2025
    Configuration menu
    Copy the full SHA
    24f095e View commit details
    Browse the repository at this point in the history
Loading