Skip to content

fix(auth): require organization invitations for wallet registration - #610

Merged
Wilfred007 merged 1 commit into
Protocol-Guild:mainfrom
diiabblo:fix/invitation-only-wallet-registration
Aug 29, 2026
Merged

fix(auth): require organization invitations for wallet registration#610
Wilfred007 merged 1 commit into
Protocol-Guild:mainfrom
diiabblo:fix/invitation-only-wallet-registration

Conversation

@diiabblo

@diiabblo diiabblo commented Aug 28, 2026

Copy link
Copy Markdown
Contributor

Summary

  • replace automatic wallet registration with an invitation-only registration endpoint
  • issue single-use, hashed organization invitations for employers
  • assign new employee accounts to the invitation organization atomically before issuing a session

Testing

  • NODE_OPTIONS=--experimental-vm-modules npm test -- --runInBand src/controllers/__tests__/authController.test.ts
  • npm run build is blocked by pre-existing syntax errors in src/services/tenantConfigService.ts (lines 207-221)

Closes #541

@Wilfred007
Wilfred007 merged commit c3c0420 into Protocol-Guild:main Aug 29, 2026
1 check passed
@Wilfred007

Copy link
Copy Markdown
Contributor

Thank you @diiabblo

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Fix auth controller auto-registering any wallet address without verification

2 participants