probot@10.10.0 breaks authentication for some apps
See original GitHub issueBug Report
The refactor in #1392 seems to break authentication for our probot applications.
We’re getting this exception in production:
Token passed to createTokenAuth is not a string at Object.createTokenAuth (/workspace/node_modules/@octokit/auth-token/dist-node/index.js:39:11) at new Octokit (/workspace/node_modules/@octokit/core/dist-node/index.js:100:32) at new _a (/workspace/node_modules/@octokit/core/dist-node/index.js:165:30) at new OctokitWithDefaults (/workspace/node_modules/@octokit/core/dist-node/index.js:145:9) at new _a (/workspace/node_modules/@octokit/core/dist-node/index.js:165:30) at new OctokitWithDefaults (/workspace/node_modules/@octokit/core/dist-node/index.js:141:11) at new Probot (/workspace/node_modules/probot/lib/index.js:65:25) at Object.exports.createProbot (/workspace/node_modules/probot/lib/index.js:238:12) at GCFBootstrapper.loadProbot (/workspace/node_modules/gcf-utils/build/src/gcf-utils.js:56:36) at async /workspace/node_modules/gcf-utils/build/src/gcf-utils.js:135:33
The code that is getting this exception is something like this:
const cfg = await this.getProbotConfig(logging);
this.probot = probot_1.createProbot(cfg); // <-- line with error.
The config
returned has the keys cert
, id
, and secret
; which are values taken from the GitHub app.
Environment
- Probot version(s):
v10.10.0
.
Issue Analytics
- State:
- Created 3 years ago
- Comments:12 (8 by maintainers)
Top Results From Across the Web
KB5014991: Authentication failures occur after the May 10 ...
Addresses a known issue that might cause authentication failures for some services on a server or client after you install the May 10,...
Read more >Windows update breaks authentication for some server admins
Microsoft is warning a security update may cause authentication failures for Windows domain controllers. "After installing updates released ...
Read more >Windows Kerberos authentication breaks after November ...
The known issue, actively investigated by Redmond, can affect any Kerberos authentication scenario within affected enterprise environments.
Read more >Microsoft's out-of-band patch fixes Windows AD authentication ...
Microsoft releases a fix for the May 10 Patch Tuesday update that was causing authentication failures for some.
Read more >Warning: KB3002657 can break authentication, with ...
The v1 KB3002657 update, which addresses issues in MS15-027, breaks authentication for some applications and devices that use NTLM for ...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
No need for a new issue. If you could help us debug that’s be great. Maybe try to uninstall octocat/core again, then delete your node_modules folder and lock file, and try to install again
🎉 This issue has been resolved in version 10.14.1 🎉
The release is available on:
Your semantic-release bot 📦🚀