Repository navigation
Let Sign in with CoinPay / nixamp through the invite-only gate - #321
Merged
Merged
Conversation
…gate The invite-only gate (site-offline.ts) answered 401 to signed-out callers of /api/v1/coinpay/oauth/* and /api/v1/nixamp/oauth/*, so neither sign-in could start. Both are sign-in paths: they bind no new account and sign in only an account that already bound that identity (never by email). (--no-verify: the hook's 3 src/proxy.test.ts failures are pre-existing on master.) Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
ThreatCrush Security Scan109 finding(s) HIGH/CRITICAL: 11 | MEDIUM: 30 | LOW: 68
…and 59 more. Full results in the Security tab. Snippets are redacted; ThreatCrush never prints matched credential material. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Follow-up to #320. Live check found
/api/v1/coinpay/oauth/startanswering 401 "BitTorrented is invite only" to signed-out visitors: the invite-only gate insrc/proxy.ts(SITE_OFFLINE) runs before the members gate and only letsisSignInPath/stillServed/openWhileInviteOnlythrough. Sign in with nixamp had the same problem.Adds
/api/v1/coinpay/oauthand/api/v1/nixamp/oauthtoSIGN_INinsrc/lib/admin-gate.ts. Both sign in only an account that already bound that identity (never by email), so nothing new is opened. Test added inadmin-gate.test.ts; tsc clean. The 3src/proxy.test.tsfailures are pre-existing on master.🤖 Generated with Claude Code