chingu-x / chingu-dashboard

https://chingu-dashboard.vercel.app
GNU General Public License v3.0
9 stars 2 forks source link

Refactor/auth architecture pt 1 #276

Closed Dan-Y-Ko closed 1 month ago

Dan-Y-Ko commented 1 month ago

Description

This pr covers moving the login logic to the modules folder and using DI to call the adapter in the UI. Expected behavior is the user will get redirected and you can see the refresh token and access token cookies in the browser.

This is just a part of the entire auth architecture refactor process. I didn't want to make the pr too big. Some of the file organization will be messy, ignore that. It will all eventually get fixed.

IMPORTANT: in this pr, only the login functionality works, nothing else.

Issue link

Fixes # (issue)

Type of change

How Has This Been Tested?

Please describe the tests that you ran to verify your changes. Provide instructions so we can reproduce. Please also list any relevant details for your test configuration

Checklist:

vercel[bot] commented 1 month ago

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
chingu-dashboard ✅ Ready (Inspect) Visit Preview 💬 Add feedback Oct 17, 2024 8:51pm