File tree Expand file tree Collapse file tree 2 files changed +6
-2
lines changed Expand file tree Collapse file tree 2 files changed +6
-2
lines changed Original file line number Diff line number Diff line change @@ -59,6 +59,10 @@ Thin Mode Changes
5959#) Fixed bug with :meth: `dbObject.deleteElement() ` which did not update the
6060 keys of associative arrays when an element was deleted.
6161
62+ #) Fixed issue with IAM token based authentication which allows unformatted
63+ private keys to be used for refreshed access tokens leading to token
64+ authentication errors.
65+
6266Thick Mode Changes
6367++++++++++++++++++
6468
Original file line number Diff line number Diff line change 1- // Copyright (c) 2022, 2024 , Oracle and/or its affiliates.
1+ // Copyright (c) 2022, 2025 , Oracle and/or its affiliates.
22
33//-----------------------------------------------------------------------------
44//
@@ -211,7 +211,7 @@ class ThinPoolImpl extends PoolImpl {
211211 }
212212 } else if ( typeof accessToken === 'object' ) {
213213 clonedAttrs . token = accessToken . token ;
214- clonedAttrs . privateKey = accessToken . privateKey ;
214+ clonedAttrs . privateKey = util . denormalizePrivateKey ( accessToken . privateKey ) ;
215215 if ( util . isTokenExpired ( clonedAttrs . token ) ) {
216216 // IAM token is expired
217217 errors . throwErr ( errors . ERR_TOKEN_HAS_EXPIRED ) ;
You can’t perform that action at this time.
0 commit comments