okta-sdk-nodejs
okta-sdk-nodejs copied to clipboard
Wrong typing for method getJwt
Describe the bug
The method getJwt
from the class OAuth
is indicated as returning a string
but returns a Promise<string>
See here
Reproduction Steps?
Normal usage of OauthClient call the getJwt
method
SDK Versions
System: OS: macOS 14.4.1 CPU: (12) arm64 Apple M2 Pro Memory: 52.38 MB / 16.00 GB Shell: 5.9 - /bin/zsh Binaries: Node: 20.11.1 - ~/.volta/tools/image/node/20.11.1/bin/node Yarn: 1.22.21 - ~/.volta/bin/yarn npm: 10.2.4 - ~/.volta/tools/image/npm/10.2.4/bin/npm Browsers: Chrome: 126.0.6478.62 Edge: 126.0.2592.61 Safari: 17.4.1
Additional Information
No response