Title: init failed:Error: not supported argument · Issue #8 · Zoominfo/api-auth-nodejs-client · GitHub
Open Graph Title: init failed:Error: not supported argument · Issue #8 · Zoominfo/api-auth-nodejs-client
X Title: init failed:Error: not supported argument · Issue #8 · Zoominfo/api-auth-nodejs-client
Description: I am getting this error while using the getAccessTokenViaPKI method with clientId, private key and username init failed:Error: not supported argument and I think its because the package is using RS256 algorithm with jsrasign package to g...
Open Graph Description: I am getting this error while using the getAccessTokenViaPKI method with clientId, private key and username init failed:Error: not supported argument and I think its because the package is using RS...
X Description: I am getting this error while using the getAccessTokenViaPKI method with clientId, private key and username init failed:Error: not supported argument and I think its because the package is using RS...
Opengraph URL: https://github.com/Zoominfo/api-auth-nodejs-client/issues/8
X: @github
Domain: patch-diff.githubusercontent.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"init failed:Error: not supported argument","articleBody":"I am getting this error while using the getAccessTokenViaPKI method with clientId, private key and username\r\n`init failed:Error: not supported argument`\r\n\r\nand I think its because the package is using **RS256** algorithm with **jsrasign** package to generate JWT tokens. I researched about the issue and found out that **HS256** algorithm should be used with **jsrasign** so please update the package. Here is the place I referred from:\r\n\r\nhttps://www.albinsblog.com/2020/12/init-failederror-not-supported-argument-jsrsasign-node-js.html","author":{"url":"https://github.com/Akshay-Vedak","@type":"Person","name":"Akshay-Vedak"},"datePublished":"2024-05-21T13:14:42.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":1},"url":"https://github.com/8/api-auth-nodejs-client/issues/8"}
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:fb773c32-f7e0-116e-b1c3-8437a5262d10 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | BA62:25408:B2C0F0:E61D03:69928916 |
| html-safe-nonce | 6ee81c61f93473bb7ac7bae3047376e8ecdfb87522bb5e69a8d7defa9e07f34e |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJCQTYyOjI1NDA4OkIyQzBGMDpFNjFEMDM6Njk5Mjg5MTYiLCJ2aXNpdG9yX2lkIjoiMTkyMDczNTMzNDA4NTc3ODE0IiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0= |
| visitor-hmac | dc25f8f5b7ac63ea9b158cc0c343c07a9acebcbf63930eb9e29dbf1701f1a5ac |
| hovercard-subject-tag | issue:2308287633 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/Zoominfo/api-auth-nodejs-client/8/issue_layout |
| twitter:image | https://opengraph.githubassets.com/cdc0eacab401b32e47e55d34a9896afb4a48c2642c2af8491402225158bf4b63/Zoominfo/api-auth-nodejs-client/issues/8 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/cdc0eacab401b32e47e55d34a9896afb4a48c2642c2af8491402225158bf4b63/Zoominfo/api-auth-nodejs-client/issues/8 |
| og:image:alt | I am getting this error while using the getAccessTokenViaPKI method with clientId, private key and username init failed:Error: not supported argument and I think its because the package is using RS... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | Akshay-Vedak |
| hostname | github.com |
| expected-hostname | github.com |
| None | 42c603b9d642c4a9065a51770f75e5e27132fef0e858607f5c9cb7e422831a7b |
| turbo-cache-control | no-preview |
| go-import | github.com/Zoominfo/api-auth-nodejs-client git https://github.com/Zoominfo/api-auth-nodejs-client.git |
| octolytics-dimension-user_id | 16402566 |
| octolytics-dimension-user_login | Zoominfo |
| octolytics-dimension-repository_id | 265257834 |
| octolytics-dimension-repository_nwo | Zoominfo/api-auth-nodejs-client |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 265257834 |
| octolytics-dimension-repository_network_root_nwo | Zoominfo/api-auth-nodejs-client |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 848bc6032dcc93a9a7301dcc3f379a72ba13b96e |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width