Kevin-Kwan / kevin-kwan.github.io

My mobile-responsive, customizable personal portfolio website made using React, Next.js and Tailwind CSS to showcase your resume, education, programming skills, experience, and projects. Includes modular pages, easy-to-use components, and working contact form.
https://kevin-kwan.tech
3 stars 2 forks source link

Login Page and Auth API Implementation #22

Closed Kevin-Kwan closed 5 months ago

Kevin-Kwan commented 5 months ago

We're adding a login page for the site owner only for now to hopefully make blog posts.

cloudflare-pages[bot] commented 5 months ago

Deploying with  Cloudflare Pages  Cloudflare Pages

Latest commit: 792f88b
Status:🚫  Build failed.

View logs

Kevin-Kwan commented 5 months ago

There's some funky error with Cloudflare (???) renaming my auth cookie, so definitely not merging until I figure out why and how.

It works perfectly fine on local dev, so this is pretty odd.

Kevin-Kwan commented 5 months ago

Yea, it's too much of a mess right now, I don't think bcrypt (or at least how I'm using it with middleware and this implementation of auth api) is working out for me, More and more errors keep popping up, edge runtime isn't happy...

Currently scrapping this, will revisit concept at a later time and try to understand what's going on.