Skip to content

feat: implement clerk authentication foundation - #15

Merged
ShubhamKumarSahu-svg merged 1 commit into
opencodeiiita:mainfrom
adityashirsatrao007:feature/auth-foundation
Dec 26, 2025
Merged

ShubhamKumarSahu-svg merged 1 commit into
opencodeiiita:mainfrom
adityashirsatrao007:feature/auth-foundation

Conversation

@adityashirsatrao007

Copy link
Copy Markdown
Contributor

Issue : #12

🚢 What does this PR do?

This PR establishes the frontend authentication foundation for SubSentry using Clerk.

🛠️ Changes:

  • Integrated ClerkProvider in the root layout.
  • Implemented clerkMiddleware for route protection (Dashboard is now private).
  • Created custom sign-in and sign-up pages using Clerk components.
  • Added a placeholder dashboard to verify authentication flow.
  • Added .env.example with the required configuration keys.

✅ Verification:

  • App wraps in ClerkProvider.
  • Middleware prevents unauthenticated access to /dashboard.
  • Custom auth pages are accessible and formatted.

Verified locally against the project structure.

@OpenGitBot

Copy link
Copy Markdown

Hey @adityashirsatrao007

Thanks for opening this PR 🚀. Mentor will review your pull request soon and till then, keep contributing and stay calm.

Thanks for contributing in OpenCode'25 ✨✨!

@ShubhamKumarSahu-svg
ShubhamKumarSahu-svg merged commit 755e9f5 into opencodeiiita:main Dec 26, 2025
@OpenGitBot

Copy link
Copy Markdown

Hey @adityashirsatrao007

Your PR has been merged 🥳🥳 and you have earned 30 points.

Thanks for contributing in OpenCode'25✨✨

MK-codes365 added a commit to MK-codes365/Subsentry that referenced this pull request Jan 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.

3 participants