Skip to content

Feat/auth for rsvp#78

Open
0xDracula wants to merge 3 commits into
hackclub:mainfrom
0xDracula:feat/auth-for-RSVP
Open

Feat/auth for rsvp#78
0xDracula wants to merge 3 commits into
hackclub:mainfrom
0xDracula:feat/auth-for-RSVP

Conversation

@0xDracula

Copy link
Copy Markdown
Member

add hack club auth oauth flow and session cookie

the RSVP feature needs to know who the user is before they can RSVP.

added:

  • lib/session.js — iron-session cookie config
  • pages/api/auth/login.js — redirects to Hack Club Auth with CSRF state
  • pages/api/auth/callback.js — exchanges authorization code for ID token, extracts slack_id, sets session cookie
  • pages/api/auth/logout.js — clears session cookie
  • pages/api/auth/me.js — returns { slackId } or { slackId: null }

@vercel

vercel Bot commented Jun 16, 2026

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
events Error Error Jun 16, 2026 6:04am

Request Review

@vercel

vercel Bot commented Jun 16, 2026

Copy link
Copy Markdown

Deployment failed with the following error:

The `vercel.json` schema validation failed with the following message: should NOT have additional property `public`

Learn More: https://vercel.com/docs/concepts/projects/project-configuration

@socket-security

Copy link
Copy Markdown

Review the following changes in direct dependencies. Learn more about Socket for GitHub.

Diff Package Supply Chain
Security
Vulnerability Quality Maintenance License
Addediron-session@​8.0.410010010082100

View full report

This was referenced Jun 16, 2026
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