[NextJS] Use web frameworks' built-in auth cookie instead of custom implementation
Nobody has claimed this yet.
Assessment
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Newbie friendliness
- 35/100
- Issue type
- Refactor
- Clarity
- Mostly clear
- Activity status
- Stale
- Tech stack
- firebase, javascript, nextjs
- Domain
- authentication, backend
Research direction
Compare the Firebase CLI framework cookie setup in src/firebase-aware.ts with the custom implementation in nextjs-end/src/app/api/route.js. Trace how the Next.js API route currently handles authentication, then verify that it uses the web framework's built-in auth cookie instead of maintaining the custom implementation.
Written by the indexing model from the issue text.
Description
The Firebase CLI's web frameworks tooling sets an auth cookie: https://github.com/FirebaseExtended/firebase-framework-tools/blob/087035d86c65c5810ab71f889e4d6160398368aa/src/firebase-aware.ts#L32
This means we probably don't need the current custom implementation: https://github.com/firebase/friendlyeats-web/blob/c43de974fbf44151217fe3238d610edee7b86b28/nextjs-end/src/app/api/route.js#L9
- Dominant language
- JavaScript
- Stars
- 597
- Forks
- 456
- PR merge metrics
- No merged PRs in 30d
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from firebase/friendlyeats-web
-
Difficulty 2/5 1-3 hours Newbie friendliness 62/100
firebase/friendlyeats-web#340 ·
-
Difficulty 4/5 3-5 days Newbie friendliness 25/100
firebase/friendlyeats-web#359 ·
-
جدید Open
Difficulty 5/5 Over a week Newbie friendliness 10/100
firebase/friendlyeats-web#352 · 1 comment ·
-
Difficulty 4/5 3-5 days Newbie friendliness 25/100
firebase/friendlyeats-web#337 ·
-
Difficulty 4/5 3-5 days Newbie friendliness 30/100
firebase/friendlyeats-web#336 ·
All issues in firebase/friendlyeats-web
Similar issues
-
Difficulty 2/5 1-3 hours Newbie friendliness 88/100
HarperFast/skills#96 ·
-
[Block] Latest Posts [Type] Bug
Difficulty 2/5 1-3 hours Newbie friendliness 76/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
Automattic/studio#4908 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 74/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 86/100
sugarlabs/musicblocks#8847 ·