googleAuthService->exchange($request->validated('oauth_code')); return response()->json([ 'message' => 'Sesion iniciada correctamente.', 'token' => $authentication['token'], 'token_type' => 'Bearer', 'user' => UserResource::make($authentication['user']), ]); } }