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
59
59
#) Fixed bug with :meth: `dbObject.deleteElement() ` which did not update the
60
60
keys of associative arrays when an element was deleted.
61
61
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
+
62
66
Thick Mode Changes
63
67
++++++++++++++++++
64
68
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.
2
2
3
3
//-----------------------------------------------------------------------------
4
4
//
@@ -211,7 +211,7 @@ class ThinPoolImpl extends PoolImpl {
211
211
}
212
212
} else if ( typeof accessToken === 'object' ) {
213
213
clonedAttrs . token = accessToken . token ;
214
- clonedAttrs . privateKey = accessToken . privateKey ;
214
+ clonedAttrs . privateKey = util . denormalizePrivateKey ( accessToken . privateKey ) ;
215
215
if ( util . isTokenExpired ( clonedAttrs . token ) ) {
216
216
// IAM token is expired
217
217
errors . throwErr ( errors . ERR_TOKEN_HAS_EXPIRED ) ;
You can’t perform that action at this time.
0 commit comments