-
-
Notifications
You must be signed in to change notification settings - Fork 66
Open
Labels
WSJF-3.33WSJF score 3.33WSJF score 3.33questionFurther information is requestedFurther information is requested
Description
the sign in works fine but in the response when I retun the user variable instead of this :
it gives me this :
here is my code :
public function handleAppleCallback(Request $request)
{
// get abstract user object, not persisted
$user = Socialite::driver("sign-in-with-apple")
->stateless()
->user();
$this->_registerOrLoginUser($user);
$user->token;
return response()->json($user);
}
Anyone knows how can I get the auth code ?
Acceptance Criteria
- The redirect URL from Apple always contains the
codeauthorization parameter - Root cause is identified (likely state/session mismatch or misconfigured redirect URI)
- Package documentation includes troubleshooting steps for redirect URL issues
Test Coverage
- Integration test: Apple callback URL includes
codeparameter for a valid authorization flow - Test: missing
codeparameter raises a clear, actionable exception
WSJF Priority Score
- Score: 3.33
- User/Business Value: 4 (Affects users expecting auth code in redirect)
- Time Criticality: 3 (Not time-critical; likely a configuration/docs gap)
- Risk Reduction/Opportunity Enablement: 3 (Better docs reduce repeated support requests)
- Job Size: 3 points (S — investigation + documentation)
- Calculation: (4 + 3 + 3) ÷ 3 = 3.33
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
WSJF-3.33WSJF score 3.33WSJF score 3.33questionFurther information is requestedFurther information is requested

