-
-
Notifications
You must be signed in to change notification settings - Fork 5.5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Start cleaning up github auth routes #1813
Conversation
- Move github token debug route to separate module - Use crypto.timingSafeEqual - Rename getTokenDebugInfo -> serializeDebugInfo This picks some more of the work from #1205.
services/github/admin.js
Outdated
// | ||
// e.g. | ||
// curl -u ':very-very-secret' 'https://example.com/$github-auth/tokens' | ||
server.ajax.on('github-auth/tokens', (json, end, ask) => { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This endpoint doesn't have a test. We could either add one or test this manually.
Generated by 🚫 dangerJS |
Fix regressions in the github admin and token acceptor endpoints, introduced in #1813.
This picks some more of the work from #1205.