Skip to content

fix: connect frontend auth and profile flows to backend endpoints#164

Merged
erinc00 merged 1 commit into
developmentfrom
fix/integrate-web-backend
Mar 29, 2026
Merged

fix: connect frontend auth and profile flows to backend endpoints#164
erinc00 merged 1 commit into
developmentfrom
fix/integrate-web-backend

Conversation

@kckagancan

@kckagancan kckagancan commented Mar 29, 2026

Copy link
Copy Markdown
Contributor

Summary

This PR connects the frontend auth and profile flows to real backend endpoints and removes remaining local demo-only behavior in these areas.

What changed

  • connected login, signup, verify email, resend verification, and current-user flows to backend APIs
  • added token-based session handling and working logout behavior
  • connected complete-profile and profile view/save flows to backend fetch/patch endpoints
  • updated verify-email flow to use tokenized email links instead of a 6-digit code flow
  • improved validation, empty states, and error handling across auth/profile forms
  • added remember-me compatible token persistence behavior in the auth layer

Notes

  • profile updates still happen through multiple PATCH requests, so partial-save risk is communicated in the UI where relevant
  • document upload UI remains placeholder-only until backend upload support is available

Can you please review? @erinc00

Closes #132

@kckagancan
kckagancan requested review from erinc00 and gulcetahtasiz and removed request for gulcetahtasiz March 29, 2026 08:05

@erinc00 erinc00 left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good to me overall. I reviewed the latest changes and everything seems in good shape from my side. The implementation is consistent with the current structure, the flow is clear, and I do not see any major issue blocking merge. Approving. Ready to merge.

@erinc00
erinc00 merged commit c14bb4e into development Mar 29, 2026
@kckagancan
kckagancan deleted the fix/integrate-web-backend branch March 29, 2026 15:54
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.

2 participants