Create Fider account when new user signs up #360
Labels
No labels
automated
code-quality
component: admin dashboard
component: backend
component: billing
component: content management
component: faqs
component: game genres
component: game lists
component: game reviews
component: game search
component: games
component: internal notifications
component: platforms
component: security
component: tests
component: user api
component: user badges
component: user blogs
component: user consoles
component: user favorites
component: user friends
component: user notifications
component: user profiles
component: user site notifications
component: user wishlists
component: web design
dependencies
php
priority
high
priority
low
priority
medium
security-hotspot
source: codex
source: sonarqube
status
awaiting feedback
status
backlog
status
done
status
in progress
status
in queue
status
in review
status
needs codex review
status
needs investigation
status
wontfix
type: bug
type: documentation
type: feature
type: improvement
type: regression
type: task
No milestone
No project
No assignees
2 participants
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
MyVideoGameList/myvideogamelist.com#360
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
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?
New MyVideoGameList registrations should also provision a matching Fider user so feedback access is ready as soon as the account exists. The current registration path is handled through
App\Actions\Fortify\CreateNewUser, so this work should add the Fider provisioning step without weakening the existing validation, throttling, or login flow.Fider API reference: https://docs.fider.io/api/users#create-user
Scope
Acceptance Criteria
Test Coverage Required
Progress Checklist
The code we currently use to do this is in
app/Http/Controllers/Auth/RegisteredUserController.phpon the production site (https://myvideogamelist.com). The code is:Implemented in
23b5ed7ondev.Notes:
ProvisionFiderUseraction after the local user transaction succeeds.FIDER_URLandFIDER_API_KEY; no production URL or secret is hard-coded in application code.name, normalizedemail, and local user id asreference, which matches Fider's duplicate-safe email/reference behavior.Verification:
vendor/bin/pint --dirty --format agentphp artisan test --compact tests/Feature/Auth/RegistrationTest.phpphp artisan test --compact tests/Feature/Auth/RegistrationTest.php tests/Feature/FiderUserStatusSyncTest.php-> 21 passed, 110 assertions