feat: return access token on user registration #42
Reference in New Issue
Block a user
Delete Branch "feat/41-return-token-on-register"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Summary
After successful registration, the backend now returns an access token so the frontend can immediately proceed with authentication flow.
Changes
Modified endpoint to return Token response (access_token + token_type) instead of UserResponse.
Before
After
Testing
Frontend can now:
Closes #41
lgtm