Skip to content

Switch CheckMeIn auth from session cookie to Bearer token#1

Merged
patrickeasters merged 5 commits into
mainfrom
checkmein-bearer-auth
May 10, 2026
Merged

Switch CheckMeIn auth from session cookie to Bearer token#1
patrickeasters merged 5 commits into
mainfrom
checkmein-bearer-auth

Conversation

@patrickeasters

Copy link
Copy Markdown
Member

Summary

  • Replaces cookie-based login (/profile/loginAttempt) with a Bearer token via Authorization header
  • Updates upload endpoint from /admin/bulkAddMembers to /sync/members
  • Drops CHECKMEIN_USERNAME and CHECKMEIN_PASSWORD in favor of CHECKMEIN_TOKEN (secret already created in GCP Secret Manager)

Test plan

  • All existing tests pass (simplified fixture no longer needs session mock)
  • Deploy to GCP and trigger membership-sync manually to verify upload succeeds against new endpoint

🤖 Generated with Claude Code

patrickeasters and others added 5 commits May 10, 2026 14:22
Replaces the cookie-based login flow with a Bearer token and updates
the upload endpoint from /admin/bulkAddMembers to /sync/members.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
…tests

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
@patrickeasters
patrickeasters merged commit 08f46ae into main May 10, 2026
1 check passed
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.

1 participant